[osiris] Re: Unable to get Osiris to compile on Sun Sparc with Solaris 8

Dave dave at terriblelies.net
Thu May 10 09:31:48 EDT 2007


John Gibson wrote:
> I would appreciate any suggestions.

No problem, comments in-line.

> Undefined                       first referenced
> 
>  symbol                             in file
> 
> dlsym                               
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to 
> i                                     mplicit dependency 
> /usr/lib/libdl.so.1)
> 
> dlopen                      
>         /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to 
> i                                     mplicit dependency 
> /usr/lib/libdl.so.1)
> 
> dlclose                             
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to i     
>                                 mplicit dependency /usr/lib/libdl.so.1)
> 
> dlerror                             
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to 
> i                                     mplicit dependency 
> /usr/lib/libdl.so.1)
> 
> ld: fatal: Symbol referencing errors. No output written to osirisd

Looks like you may need to include the dynamic loader library '-ldl' to 
resolve the implicit dependencies.

>   $ ./configure --prefix=/app1/osiris/4.2.3 --with-ssl-dir=/usr/local/ssl

Try:

$ LDFLAGS='-ldl' ./configure --prefix=/app1/osiris/4.2.3 
--with-ssl-dir=/usr/local/ssl

Failing that, try telling configure where to find the SSL include files 
and libraries.

$ CFLAGS='-I/usr/local/ssl/include' LDFLAGS='-L/usr/local/ssl -w,l 
/usr/local/ssl -ldl -lcrypto' ./configure --prefix=/app1/osiris/4.2.3 
--with-ssl-dir=/usr/local/ssl

Unfortunately, I do not have a solaris system to test this on, so I have 
no idea if these will work, but from the errors in the compile you gave, 
that is my best guess.

-dave



More information about the osiris mailing list