On 18/02/2012, at 8:12 AM, Jan Danielsson wrote:

> On 02/17/12 03:00, Steve Bennett wrote:
> [---]
>> No problem. I've pushed the fix into autosetup and updated autosetup
>> on a branch, so perhaps Richard will merge this fix at some point.
> 
>   I've encountered two other issues; one is fixed in the branch
> jan-buildfixes.

Looks good. I see that Richard has already merged it.

> 
>   After applying the lib-fix, the linker complains; it can not find
> dlsym, dladdr, dlopen, socket, connect, dlclose, dlerror and shutdown.
> 
>   config.log indicates that it's linking conftest__ with:
> 
>   -lssl -lcrypto
> 
>   ..while my old (manually patched) fossil Makefile contains:
> 
>   -lssl -lcrypto -ldl -lsocket -lnsl
> 
>   I, naively, tried inserting something along the line of "if a host
> *sun4* match is found, then append '-ldl -lsocket -lnsl' to LIBS", but
> it made no difference. I don't know if I don't understand the build
> system or Tcl. (I removed the "if", and simply told it to always add
> those extra libraries to LIBS, but it didn't, so I assume it's the build
> system I don't understand). Any help is appreciated.

So your openssl needs -ldl?

You can try the attached patch as a workaround.
(This will not work for platforms which don't have/need -ldl)

Cheers,
Steve

--
µWeb: Embedded Web Framework - http://uweb.workware.net.au/
WorkWare Systems Pty Ltd
W: www.workware.net.au      P: +61 434 921 300
E: [email protected]   F: +61 7 3391 6002




Attachment: openssl-needs-dl.patch
Description: Binary data

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to