vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Olivier PRENANT wrote: >> You left out the case where --enable_thread_safety is specified. >> In that case, the frontend has to be linked with libldap_r.so >> instead of libldap.so. > > Yes, this was on purpose, my goal is to try to make a second > patch when... > >> Does libldap_r.so _not_ require any extra libraries for linking? > > I don't know, hence the mid-patch I see. >> If it does require extra libraries, are they the same as for the >> thread-unsafe library (on Linux, that is the case)? > > Not sure what you mean I mean, will -lldap_r -llber -lresolv work, or do you need something else (liblber_r.so or whatever). > > Could you test compiling with --enable_thread_safety ? > > Will do, but keep in mind that --enable_thread_safety doesn't work too > well for unixware (see template/Makefile.unixware) > However, if someone can help me, I'd love to fix the problem I don't know anything about Unixware. I don't suggest that anybody should use --enable_thread_safety on Unixware, but I think it should at least compile cleanly if possible. I guess that adding $EXTRA_LDAP_LIBS to -lldap_r will be enough, judging from the evidence on Linux. Yours, Laurenz Albe ---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate |
| ||||
| On Fri, Dec 15, 2006 at 01:06:08PM +0100, Albe Laurenz wrote: > I guess that adding $EXTRA_LDAP_LIBS to -lldap_r will be enough, > judging from the evidence on Linux. Linux doesn't need the extra libraries, it's linked properly. Additionally, on Linux there is no difference between ldap and ldap_r, they're the same file (at least here). $ ls -l /usr/lib/libldap.so.2 lrwxrwxrwx 1 root root 14 2005-06-09 10:42 /usr/lib/libldap.so.2 -> libldap_r.so.2 Just make sure you don't add unnecessary dependancies for platforms other than unixware. Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to litigate. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFFgpK0IB7bNG8LQkwRArqeAJ0WmgWk42xXm7IHaFgHPH QxHnKjJACbBhId d8kuXMULD9oOhbDxVMQ9zbY= =OwG5 -----END PGP SIGNATURE----- |