library links

Brent Hills bhills at openshores.com
Sat Apr 3 17:46:44 UTC 2004


Hello

I removed the link I added manually and ran ldconfig and the link is not
generated.  A link for libasound.so.2 exists but not libasound.so.

[root at unixtop lib]# ldconfig
[root at unixtop lib]# ls -l /usr/lib/libasound*
lrwxrwxrwx  1 root root     18 Mar 30 12:44 /usr/lib/libasound.so.2 ->
libasound.so.2.0.0
-rwxr-xr-x  1 root root 695436 Mar 11 19:53 /usr/lib/libasound.so.2.0.0

Do I need to use -l on ldconfig the man page is vague on its use?

Thanks,
Brent Hills.

On Sat, 2004-04-03 at 02:58, Andy Green wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Saturday 03 April 2004 10:43, Brent Hills wrote:
> > Why do some libraries have links for the simple to the versioned library
> > name and some don't?
> 
> IIRC (and it is a rather dim recollection) I think these links are made when 
> you run ldconfig, according to what the library says about itself.
> 
> objdump -x /usr/lib/libieee1284.so.3.2.0
> ...
>   SONAME      libieee1284.so.3
> ...
> 
> I believe ldconfig creates the symlinks for all version levels between the 
> fully qualified version name .3.2.0 and the SONAME of .3.
> 
> - -Andy
> 
> - -- 
> Find your answer without waiting for replies....
> Searchable list archives at 
> http://marc.theaimsgroup.com/?l=fedora-list&r=1&w=2
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFAbpjvjKeDCxMJCTIRAmafAJ93Cfe/DrYM4E+nT+7BG2xqy3uIRgCfS5z/
> AqupwOAfRGulhgjc8rO5f2Q=
> =VNiX
> -----END PGP SIGNATURE-----
> 





More information about the fedora-test-list mailing list