Re: -lgssapi found at link time, but not at run time
I can see that the libraries are present under /usr/lib: r...@lanai:~/src/openssl/curl/curl-7.18.0# ls -l /usr/lib/libgss* lrwxrwxrwx 1 root root 11 Dec 6 21:56 /usr/lib/libgss.so - libgss.so.1 -rwxr-xr-x 1 root bin 76700 Dec 4 07:52 /usr/lib/libgss.so.1 lrwxrwxrwx 1 root root 18 Dec 6 21:57 /usr/lib/libgssapi.so.2 - libgssapi.so.2.0.0 -rw-r--r-- 1 root root 160428 Nov 25 17:12 /usr/lib/libgssapi.so.2.0.0 lrwxrwxrwx 1 root root 21 Dec 9 09:04 /usr/lib/libgssapi_krb5.so - libgssapi_krb5.so.2.2 lrwxrwxrwx 1 root root 21 Dec 9 09:04 /usr/lib/libgssapi_krb5.so.2 - libgssapi_krb5.so.2.2 -rw-r--r-- 1 root root 171860 Dec 9 03:57 /usr/lib/libgssapi_krb5.so.2.2 lrwxrwxrwx 1 root root 16 Dec 9 09:04 /usr/lib/libgssrpc.so - libgssrpc.so.4.0 lrwxrwxrwx 1 root root 16 Dec 9 09:04 /usr/lib/libgssrpc.so.4 - libgssrpc.so.4.0 -rw-r--r-- 1 root root 92868 Dec 9 03:57 /usr/lib/libgssrpc.so.4.0 r...@lanai:~/src/openssl/curl/curl-7.18.0# dpkg -S /usr/lib/libgssapi.so.2 libgssapi2-heimdal: /usr/lib/libgssapi.so.2 r...@lanai:~/src/openssl/curl/curl-7.18.0# dpkg -S /usr/lib/libgssapi.so.2.0.0 libgssapi2-heimdal: /usr/lib/libgssapi.so.2.0.0 SP the package libgssapi2-heimdal provides /usr/lib/libgssapi.so.2 but not /usr/lib/libgssapi.so Is it this package's job to provide this package (by adding an ln -s at the right place in debian/rules)? Or is there something else that isnt doing this? Ainl ___ gnusol-devel mailing list gnusol-devel@lists.sonic.net http://lists.sonic.net/mailman/listinfo/gnusol-devel
Re: -lgssapi found at link time, but not at run time
Anil Gulecha wrote: Hi, configure on curl fails as follows (from config.log) .. configure:31776: i386-pc-solaris2.11-gcc -c -g -O2 -I/usr/include conftest.c 5 configure:31782: $? = 0 configure:31802: result: yes configure:31818: checking run-time libs availability configure:31846: i386-pc-solaris2.11-gcc -o conftest -g -O2 -I/usr/include -Wl,-Bsymbolic-functions -L/usr/lib -lgssapi conftest.c -lldap -lsocket -lnsl -lgssapi 5 /usr/bin/ld: cannot find -lgssapi collect2: ld returned 1 exit status I can see that the libraries are present under /usr/lib: [EMAIL PROTECTED]:~/src/openssl/curl/curl-7.18.0# ls -l /usr/lib/libgss* lrwxrwxrwx 1 root root 11 Dec 6 21:56 /usr/lib/libgss.so - libgss.so.1 -rwxr-xr-x 1 root bin 76700 Dec 4 07:52 /usr/lib/libgss.so.1 lrwxrwxrwx 1 root root 18 Dec 6 21:57 /usr/lib/libgssapi.so.2 - libgssapi.so.2.0.0 -rw-r--r-- 1 root root 160428 Nov 25 17:12 /usr/lib/libgssapi.so.2.0.0 lrwxrwxrwx 1 root root 21 Dec 9 09:04 /usr/lib/libgssapi_krb5.so - libgssapi_krb5.so.2.2 lrwxrwxrwx 1 root root 21 Dec 9 09:04 /usr/lib/libgssapi_krb5.so.2 - libgssapi_krb5.so.2.2 -rw-r--r-- 1 root root 171860 Dec 9 03:57 /usr/lib/libgssapi_krb5.so.2.2 lrwxrwxrwx 1 root root 16 Dec 9 09:04 /usr/lib/libgssrpc.so - libgssrpc.so.4.0 lrwxrwxrwx 1 root root 16 Dec 9 09:04 /usr/lib/libgssrpc.so.4 - libgssrpc.so.4.0 -rw-r--r-- 1 root root 92868 Dec 9 03:57 /usr/lib/libgssrpc.so.4.0 Any idea why configure is failing? Crazy idea and best practice in general is to also add -R to your ld flags.. This can help the linker find the runtime libs.. failing this posting the cc -# (if you're using sun cc) or a few other things could give more details.. ./C ___ gnusol-devel mailing list gnusol-devel@lists.sonic.net http://lists.sonic.net/mailman/listinfo/gnusol-devel
Re: -lgssapi found at link time, but not at run time
Anil Gulecha wrote: Yup.. codestrOm helped me with that. It now fails at a point where we can proceed once heimdal is rebuilt (my other mail on dh_shlibdeps). I have a high level of interest in possibly helping with the krb5/heimdal as it's something on my eventual TODO list.. I've talked with the Sun maintainer about it and the best long term approach is to Firstly, choose to either use upstream (Sun) or vanilla.. There are some added features/benefits to using the Sun version which is what I thought most maintainers would naturally opt for. However, the maintenance of this w/o the help of Sun is a pita. I think the middle ground is a 1x hit of generating a patch against vanilla which can be maintained against any patches provided by Sun and any possible security/bug related issues provided by the vendor. I've got some notes on it if anyone would like to take a poke at it. Topics like this will surely come up on the new list.. ./C ___ gnusol-devel mailing list gnusol-devel@lists.sonic.net http://lists.sonic.net/mailman/listinfo/gnusol-devel
Re: -lgssapi found at link time, but not at run time
Yup.. codestrOm helped me with that. It now fails at a point where we can proceed once heimdal is rebuilt (my other mail on dh_shlibdeps). Anil On Wed, Dec 10, 2008 at 6:11 PM, David Bartley [EMAIL PROTECTED] wrote: Looks like you're missing /usr/lib/libgssapi.so. This should be a symlink to libgssapi.so.2.0.0 probably. -- David ___ gnusol-devel mailing list gnusol-devel@lists.sonic.net http://lists.sonic.net/mailman/listinfo/gnusol-devel