FreeBSD 8.4 curl

Miroslav Lachman 000.fbsd at quip.cz
Mon Sep 2 22:05:54 CEST 2013


Dan Lukes wrote:

[...]

> Ten mi vypise binary a knihovny ktere ke svemu behu vyzaduji neco, co
>
> a) v systemu neni pritomno vubec
> b) je ulozeno v /usr/local/lib/compat/pkg/
>
> Teda, ja mam pred tim prikazem jeste:
>
>> rm /usr/local/lib/compat/pkg/* 2>/dev/null ;
>
> cimz moznost [b] prevadim na [a]
>
> Jakmile tenhle slozenej prikaz neco vypise, je jasne, ze se neco
> neprovedlo spravne a je potreba to resit.

Zkusil jsem ten tvuj "jednoduchy prikaz" a na zaver mi vypsal seznam 
knihoven, ktere jsou v compat/pkg/... ale zadnou knihovnu / binarku, 
ktera by tyhle knihovny vyzadovala. Takze jak to vlastne ma fungovat?

Mirek

--

# find /bin /sbin /lib /usr/bin /usr/sbin /usr/lib /usr/libexec 
/usr/local/lib /usr/local/bin /usr/local/sbin /usr/local/libexec -type f 
| ( LD_LIBRARY_PATH="$( ldconfig -r | sed -n 's/^ *search directories: 
*//p' ):/usr/local/lib/libreoffice/ure/lib:/usr/local/lib/seamonkey" ; 
export LD_LIBRARY_PATH ; xargs ldd 2>/dev/null ) | sed 
'/^\//{h;d;};G;s/^\(.*\)\n\(.*\)/\2\1/' | grep -E "not 
found|/compat/pkg/" | cut -d: -f1 | sort -u
/usr/local/lib/compat/pkg/libMagick++.so.4
/usr/local/lib/compat/pkg/libMagick++.so.5
/usr/local/lib/compat/pkg/libMagickCore.so.4
/usr/local/lib/compat/pkg/libMagickCore.so.5
/usr/local/lib/compat/pkg/libMagickWand.so.4
/usr/local/lib/compat/pkg/libMagickWand.so.5
/usr/local/lib/compat/pkg/libaprutil-1.so.3
/usr/local/lib/compat/pkg/libaprutil-1.so.4
/usr/local/lib/compat/pkg/libcurl.so.6
/usr/local/lib/compat/pkg/libicudata.so.46
/usr/local/lib/compat/pkg/libicudata.so.48
/usr/local/lib/compat/pkg/libicui18n.so.46
/usr/local/lib/compat/pkg/libicui18n.so.48
/usr/local/lib/compat/pkg/libicuio.so.46
/usr/local/lib/compat/pkg/libicuio.so.48
/usr/local/lib/compat/pkg/libicule.so.46
/usr/local/lib/compat/pkg/libicule.so.48
/usr/local/lib/compat/pkg/libiculx.so.46
/usr/local/lib/compat/pkg/libiculx.so.48
/usr/local/lib/compat/pkg/libicutest.so.46
/usr/local/lib/compat/pkg/libicutest.so.48
/usr/local/lib/compat/pkg/libicutu.so.46
/usr/local/lib/compat/pkg/libicutu.so.48
/usr/local/lib/compat/pkg/libicuuc.so.46
/usr/local/lib/compat/pkg/libicuuc.so.48
/usr/local/lib/compat/pkg/libpcre.so.0
/usr/local/lib/compat/pkg/libpcre.so.1
/usr/local/lib/compat/pkg/libpcre16.so.0
/usr/local/lib/compat/pkg/libpng.so.6
/usr/local/lib/compat/pkg/libsvn_ra_neon-1.so.0


# ls -l /usr/local/lib/compat/pkg/
total 55886
-rwxr-xr-x  1 root  wheel    697098 Sep  6  2011 libMagick++.so.4
-rwxr-xr-x  1 root  wheel    701784 Dec  1  2012 libMagick++.so.5
-rwxr-xr-x  1 root  wheel   3656584 Sep  6  2011 libMagickCore.so.4
-rwxr-xr-x  1 root  wheel   3712834 Dec  1  2012 libMagickCore.so.5
-rwxr-xr-x  1 root  wheel   1039172 Sep  6  2011 libMagickWand.so.4
-rwxr-xr-x  1 root  wheel   1040687 Dec  1  2012 libMagickWand.so.5
-rwxr-xr-x  1 root  wheel    456570 Jan 28  2012 libaprutil-1.so.3
-rwxr-xr-x  1 root  wheel    473979 Apr  5 18:07 libaprutil-1.so.4
-rwxr-xr-x  1 root  wheel    408005 Jul 11 20:45 libcurl.so.6
-r--r--r--  1 root  wheel  15746974 Apr  5  2011 libicudata.so.46
-r--r--r--  1 root  wheel  18891361 Jan 28  2012 libicudata.so.48
-r-xr-xr-x  1 root  wheel   1952880 Apr  5  2011 libicui18n.so.46
-r-xr-xr-x  1 root  wheel   2071872 Jan 28  2012 libicui18n.so.48
-r-xr-xr-x  1 root  wheel     49168 Apr  5  2011 libicuio.so.46
-r-xr-xr-x  1 root  wheel     49744 Jan 28  2012 libicuio.so.48
-r-xr-xr-x  1 root  wheel    223440 Apr  5  2011 libicule.so.46
-r-xr-xr-x  1 root  wheel    232288 Jan 28  2012 libicule.so.48
-r-xr-xr-x  1 root  wheel     52728 Apr  5  2011 libiculx.so.46
-r-xr-xr-x  1 root  wheel     54632 Jan 28  2012 libiculx.so.48
-r-xr-xr-x  1 root  wheel     65472 Apr  5  2011 libicutest.so.46
-r-xr-xr-x  1 root  wheel     66912 Jan 28  2012 libicutest.so.48
-r-xr-xr-x  1 root  wheel    144184 Apr  5  2011 libicutu.so.46
-r-xr-xr-x  1 root  wheel    149920 Jan 28  2012 libicutu.so.48
-r-xr-xr-x  1 root  wheel   1353296 Apr  5  2011 libicuuc.so.46
-r-xr-xr-x  1 root  wheel   1530960 Jan 28  2012 libicuuc.so.48
-rwxr-xr-x  1 root  wheel    368244 Jan 28  2012 libpcre.so.0
-rwxr-xr-x  1 root  wheel    382670 Dec  1  2012 libpcre.so.1
-rwxr-xr-x  1 root  wheel    354436 Dec  1  2012 libpcre16.so.0
-r--r--r--  1 root  wheel    157840 May  2  2012 libpng.so.6
-rwxr-xr-x  1 root  wheel    612666 Apr 11 18:09 libsvn_ra_neon-1.so.0


More information about the Users-l mailing list