DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st July 2009
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default Strange lib problem

Hello,
First I have to say I use PC-BSD 7.1.1, based on FreeBSD 7.2. That may be related.
I had today a very strange lib problem.
I installed the kid game gcompris with the ports. No special problem found.
Once installed I tried to start it and I have the error :
Code:
$ gcompris
/libexec/ld-elf.so.1: Shared object "libicuuc.so.38" not found, required by "libicui18n.so.38"
$
But if I check it I can find the 'missing' lib :
Code:
$ ls -l /usr/local/lib/libicuuc*
lrwxr-xr-x  1 root  wheel       16 31 jul 13:58 /usr/local/lib/libicuuc.so -> libicuuc.so.38.1
lrwxr-xr-x  1 root  wheel       16 31 jul 13:58 /usr/local/lib/libicuuc.so.38 -> libicuuc.so.38.1
-r--r--r--  1 root  wheel  1438457 31 jul 13:58 /usr/local/lib/libicuuc.so.38.1
Mmm, all seems ok.
I check /etc/defaults/rc.conf and the ldconfig_paths include /usr/local/lib.
So I created /etc/libmap.conf and put in it :
Code:
libicuuc.so.38 /usr/local/lib/libicuuc.so.38.1
And this time the error is :
Code:
$ gcompris
/libexec/ld-elf.so.1: Shared object "/usr/local/lib/libicuuc.so.38.1" not found, required by "libicui18n.so.38"
I must admit that I'm lost at this point. It seems gcompris cant find the existing lib.
So I play a little with ldconfig like this :
Code:
# ldconfig -elf
[root@pcbsd /usr/local/lib]# ldd libicui18n.so.38.1
libicui18n.so.38.1:                                
        libicuuc.so.38 => not found (0x0)          
        libicudata.so.38 => /usr/local/lib/libicudata.so.38 (0x800c56000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x801845000)          
        libm.so.5 => /lib/libm.so.5 (0x801a51000)                        
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x801b6b000)                
        libc.so.7 => /lib/libc.so.7 (0x800633000)                        
[root@pcbsd /usr/local/lib]# ldconfig -i
[root@pcbsd /usr/local/lib]# ldd libicui18n.so.38.1
libicui18n.so.38.1:                                
ldd: libicui18n.so.38.1: Shared object "libicui18n.so.38.1" not found, required by "ldd"
libicui18n.so.38.1: exit status 1
Arg !
Some help ?
Reply With Quote
  #2   (View Single Post)  
Old 31st July 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 337
Thanked 32 Times in 30 Posts
Default

Does the lib show up in ldconfig -r | grep libicuuc? If not, consider running ldconfig -R and/or /etc/rc.d/ldconfig restart.
Reply With Quote
  #3   (View Single Post)  
Old 1st August 2009
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default

Thanks for your help but still broken :
Code:
[root@pcbsd]/usr/local/lib(55)# ls -l libicuuc*
lrwxr-xr-x  1 root  wheel       16 31 jul 13:58 libicuuc.so -> libicuuc.so.38.1
lrwxr-xr-x  1 root  wheel       16 31 jul 13:58 libicuuc.so.38 -> libicuuc.so.38.1
-r--r--r--  1 root  wheel  1438457 31 jul 13:58 libicuuc.so.38.1
[root@pcbsd]/usr/local/lib(56)# ldd libicuuc.so.38.1
libicuuc.so.38.1:
ldd: libicuuc.so.38.1: Shared object "libicuuc.so.38.1" not found, required by "ldd"
libicuuc.so.38.1: exit status 1
[root@pcbsd]/usr/local/lib(57)# ldconfig -r | grep libicuuc
        169:-licuuc.38 => /usr/local/lib/libicuuc.so.38
[root@pcbsd]/usr/local/lib(58)# ldd libxmltok.so
libxmltok.so:
        libz.so.4 => /lib/libz.so.4 (0x800b16000)
        libssl.so.5 => /usr/lib/libssl.so.5 (0x800c2a000)
        libcrypto.so.5 => /lib/libcrypto.so.5 (0x800d74000)
        libc.so.7 => /lib/libc.so.7 (0x800633000)
Last was to check if ldd was still working.
Reply With Quote
  #4   (View Single Post)  
Old 1st August 2009
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default

Ok, got it now.
It WAS PC-BSD related.
PC-BSD use separate hints files and separate port tree ...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PF: strange port 21 iwi OpenBSD Security 3 25th November 2008 02:21 PM
Strange network problem mururoa FreeBSD General 15 5th November 2008 08:25 AM
strange load problem on freebsd 7.0 amd64 skynet_tech FreeBSD General 3 11th September 2008 09:49 PM
Strange Eterm-problem PatrickBaer FreeBSD General 5 22nd July 2008 07:54 AM
NFS and FreeBSD 6.2r strange problem .. bsduser FreeBSD Installation and Upgrading 3 11th July 2008 11:48 AM


All times are GMT. The time now is 02:23 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick