logo       

Re: Solaris 9 make fails.: msg#00023

network.stunnel.user

Subject: Re: Solaris 9 make fails.


Hi,

From: "Peters, Michael D." <Michael.Peters@xxxxxxxx>
>
> Does anyone have a suggestion that might help me get Stunnel built?
>
>
> # make
> Making all in src
> make[1]: Entering directory `/opt/software/stunnel-4.04/src'
> /bin/bash ../libtool --mode=link gcc -g -O2 -Wall -Wshadow -Wcast-align
> -Wpointer-arith -I/usr/local/ssl/include -o stunnel client.o log.o
> options.o protocol.o sselect.o ssl.o sthreads.o stunnel.o pty.o -lpthread
> -lsocket -lnsl -L/usr/local/ssl/lib -lssl -lcrypto
> gcc -g -O2 -Wall -Wshadow -Wcast-align -Wpointer-arith
> -I/usr/local/ssl/include -o stunnel client.o log.o options.o protocol.o
> sselect.o ssl.o sthreads.o stunnel.o pty.o -lpthread -lsocket -lnsl
> -L/usr/local/ssl/lib -lssl -lcrypto
> Undefined first referenced
> symbol in file
> dlclose
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit
> dependency /usr/lib/libdl.so.1)
> dlopen
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit
> dependency /usr/lib/libdl.so.1)
> dlsym
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o) (symbol belongs to implicit
> dependency /usr/lib/libdl.so.1)
> ld: fatal: Symbol referencing errors. No output written to stunnel
> collect2: ld returned 1 exit status
> make[1]: *** [stunnel] Error 1
> make[1]: Leaving directory `/opt/software/stunnel-4.04/src'
> make: *** [all-recursive] Error 1
> #
>

Below it the man page for dlclose on a Solaris 8 system

uj@host66:[SunOS 5.8] uj $ man dlclose

Dynamic Linking Library Functions dlclose(3DL)

NAME
dlclose - close a shared object

SYNOPSIS
cc [ flag ... ] file ... -ldl [ library ... ]
#include <dlfcn.h>

int dlclose(void *handle);





Anyway - the manpage suggests that you link with libdl using "-ldl"

I havent tried it - it is just a suggestion.

/Uffe





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise