Bunch of unrecognized shared libraries...

Bunch of unrecognized shared libraries...

Post by Odie » Sat, 05 Dec 1998 04:00:00



alrighty... I installed Enlightenment 0.14 and other needed packages
from the ports collections.  Everything was working find... until I
restarted the machine.  All of a sudden, it can't find libesd.so.0.0.
The library is there, it's just not recognized.  I tried to do a
"ldconfig -m /usr/X11R6/lib" and it's still "missing."  Finally, I found
out that the library will be recognized if I force pkg_add the esound
library over the existing installation.  Then I get this libpng.so.2.1
not found msg.  Same deal.  I force installed the pkg and E started up
fine.  This problem comes up everytime the machine is restarted.  And I
end up having to force install the 2 pkg's everytime.  Also, if I do a
"ldd /usr/X11R6/bin/enlightenment" before I force install either of the
packages, there are about 7 shared libraries that are "not found,"
including" esound, Fnlib, Imlib, png, gif, tiff, and jpeg.  They are all
in the ldconfig search path.

So what do I have to do to have them recognized?  (besides doing a force
install)

Odie

 
 
 

Bunch of unrecognized shared libraries...

Post by Mark S. Reichm » Sat, 05 Dec 1998 04:00:00


Did you just also upgrade to 3.0 release?
Did you install the new /etc files from 3.0?
If you havent I recommend 'mergemaster' from the ports.
You now have 2 library hint files.  An aout and an elf
file.  These are populated and updated with the new 3.0
startup files.  This may be your prob.
So. now ldconfig works like:

ldconfig -m -elf  /usr/X11R6/lib       ..or..
ldconfig -m -aout /usr/X11R6/aout/lib

Like i said though.. Check to make sure your /etc has
been updated and this will be taken care of for ya.


Quote:

>alrighty... I installed Enlightenment 0.14 and other needed packages
>from the ports collections.  Everything was working find... until I
>restarted the machine.  All of a sudden, it can't find libesd.so.0.0.
>The library is there, it's just not recognized.  I tried to do a
>"ldconfig -m /usr/X11R6/lib" and it's still "missing."  Finally, I found
>out that the library will be recognized if I force pkg_add the esound
>library over the existing installation.  Then I get this libpng.so.2.1
>not found msg.  Same deal.  I force installed the pkg and E started up
>fine.  This problem comes up everytime the machine is restarted.  And I
>end up having to force install the 2 pkg's everytime.  Also, if I do a
>"ldd /usr/X11R6/bin/enlightenment" before I force install either of the
>packages, there are about 7 shared libraries that are "not found,"
>including" esound, Fnlib, Imlib, png, gif, tiff, and jpeg.  They are all
>in the ldconfig search path.

>So what do I have to do to have them recognized?  (besides doing a force
>install)

>Odie


 
 
 

Bunch of unrecognized shared libraries...

Post by Odie » Sat, 05 Dec 1998 04:00:00


Yesyes... It's  a fresh install of the 3.0 release, and both elf and aout
paths are there... =(

> Did you just also upgrade to 3.0 release?
> Did you install the new /etc files from 3.0?
> If you havent I recommend 'mergemaster' from the ports.
> You now have 2 library hint files.  An aout and an elf
> file.  These are populated and updated with the new 3.0
> startup files.  This may be your prob.
> So. now ldconfig works like:

> ldconfig -m -elf  /usr/X11R6/lib       ..or..
> ldconfig -m -aout /usr/X11R6/aout/lib

> Like i said though.. Check to make sure your /etc has
> been updated and this will be taken care of for ya.

 
 
 

Bunch of unrecognized shared libraries...

Post by Mark S. Reichma » Mon, 07 Dec 1998 04:00:00



        91:-lpng.2.1 => /usr/local/lib/aout/libpng.so.2.1


-r-xr-xr-x  1 bin  bin  106128 Sep 13 11:22 libpng.a
-r-xr-xr-x  1 bin  bin  106611 Sep 13 11:22 libpng.so.2.1

ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" # shared
library search paths
ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout
/usr/local/lib/aout" # a.out shared library search
paths

I dont have libesd.so.0.0 on my system.  Here is my current
configuration.  Yours should most
likely be the same.  Remember also that you need to specify -elf or
-aout in your
when using ldconfig with 3.0 release.

i.e.  $ldconfig -m -aout /usr/local/lib/aout    or
      $ldconfig -m -elf  /usr/local/lib  

Hope this has helped...


> Yesyes... It's  a fresh install of the 3.0 release, and both elf and aout
> paths are there... =(


> > Did you just also upgrade to 3.0 release?
> > Did you install the new /etc files from 3.0?
> > If you havent I recommend 'mergemaster' from the ports.
> > You now have 2 library hint files.  An aout and an elf
> > file.  These are populated and updated with the new 3.0
> > startup files.  This may be your prob.
> > So. now ldconfig works like:

> > ldconfig -m -elf  /usr/X11R6/lib       ..or..
> > ldconfig -m -aout /usr/X11R6/aout/lib

> > Like i said though.. Check to make sure your /etc has
> > been updated and this will be taken care of for ya.

 
 
 

1. Will strip(debug shared library) == nodebug shared library ?

compiling the C++ code without debug option to produce object
files(.o) and then producing the shared library with them. Say, the
size of this library is SIZE_SO_NoD.

compiling the C++ code with debug option to produce object files(.o)
and then producing the shared library with them. Then, do 'strip
library_name'. Say, the size of this library is SIZE_SO_D.

Will SIZE_SO_NoD & SIZE_SO_D be exactly/almost equal ? If yes/no, why?
Also, what exactly 'mcs -d library_name' do? Does it reduce symbols
from the shared library which was produced without debug option also?

2. Problem: Undefined symbol _setsigjmp.

3. Help with building shared libraries with dependencies on other shared libraries

4. Problems with lo

5. Question: Inclusion of shared libraries during linking of shared libraries

6. Help: Settings for Telebit Trailblazer+ ??

7. Shared library loading shared library.

8. Linux + WD540...Summary?

9. Need a Shared Library Guru: beyond simple shared library question

10. When is a shared library not a shared library?

11. old SunView libraries unrecognized

12. Shared libraries sharing from main app?

13. Compiling static libraries as shared libraries