pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: www/curl builderror on Solaris x86
I'm having this very same problem.
Did you ever figure this out?
If I make the conftest.c it fails on manually:
$ gcc -o conftest -O -I/opt/pkgsrc/include -I/usr/include
-I/opt/pkgsrc/include -I/usr/include -I/opt/pkgsrc/include/openssl
-I/opt/pkgsrc/include -I/usr/include
-L/opt/pkgsrc/gcc3/lib/gcc-lib/i386-sun-solaris2/3.3.6
-Wl,-R/opt/pkgsrc/gcc3/lib/gcc-lib/i386-sun-solaris2/3.3.6
-L/opt/pkgsrc/gcc3/lib -Wl,-R/opt/pkgsrc/gcc3/lib -L/opt/pkgsrc/lib
-Wl,-R/opt/pkgsrc/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/pkgsrc/lib
-L/usr/lib conftest.c -lidn -lssl -lcrypto -lsocket -lnsl -lz
$ ./conftest
Segmentation Fault (core dumped)
this is the reason for the error:
> configure: error: one or more libs available at link-time are not
> available run-time. Libs used at link-time: -lidn -lssl -lcrypto
> -lsocket -lnsl -lz
If I remove the -lssl and -lcrypto, it works fine
$ gcc -o conftest -O -I/opt/pkgsrc/include -I/usr/include
-I/opt/pkgsrc/include -I/usr/include -I/opt/pkgsrc/include/openssl
-I/opt/pkgsrc/include -I/usr/include
-L/opt/pkgsrc/gcc3/lib/gcc-lib/i386-sun-solaris2/3.3.6
-Wl,-R/opt/pkgsrc/gcc3/lib/gcc-lib/i386-sun-solaris2/3.3.6
-L/opt/pkgsrc/gcc3/lib -Wl,-R/opt/pkgsrc/gcc3/lib -L/opt/pkgsrc/lib
-Wl,-R/opt/pkgsrc/lib -L/usr/lib -Wl,-R/usr/lib -L/opt/pkgsrc/lib
-L/usr/lib conftest.c -lidn -lsocket -lnsl -lz
$ ./conftest
$ echo $?
0
That's as far as I've gotten... I've been messing with LD_LIBRARY_PATH,
changing the include directories and orders, and so on, and I'm getting no
where. Kindof a bum ;/
$ uname -a
SunOS aa2vps200 5.10 Generic_137112-05 i86pc i386 i86pc
On Fri, 17 Oct 2008 12:31:03 +0200, Daniel Vergien
<daniel.vergien%rrz.uni-hamburg.de@localhost> wrote:
> Hi,
>
> when I try to build www/curl on Solaris x86 I get the following error:
>
> checking run-time libs availability... failed
> configure: error: one or more libs available at link-time are not
> available run-time. Libs used at link-time: -lidn -lssl -lcrypto
> -lsocket -lnsl -lz
> *** Error code 1
>
> Stop.
> bmake: stopped in /nilfisk/pkgsrc/usr/pkgsrc/www/curl
> WARNING: *** Please consider adding c++ to USE_LANGUAGES in the
> package Makefile.
> *** Error code 1
>
> Stop.
> bmake: stopped in /nilfisk/pkgsrc/usr/pkgsrc/www/curl
>
> The config.log is attached.
>
>
> Greetings
>
> Daniel
Home |
Main Index |
Thread Index |
Old Index