On 10/21/05, Zoran Vasiljevic <zv...@ar...> wrote:
>
> Hi Stephen,
>
> This will not work on Darwin. You need to link against nsdb.so and
> this is not
> a shared library but a bundle. Hence the compile fails.
> In order to use this, the nsdbd should either be a shared library or
> the Ns_DbRegisterDriver
> must be moved into libnsd library.
>
> /bin/rm -Rf nsdbtest.so
> cc -bundle -L../nsthread -L../nsd -o nsdbtest.so nsdbtest.o -L/Users/
> zoran/sf/tcl/unix -ltcl8.4g -lnsthread -lnsd -prebind -
> headerpad_max_install_names -Wl,-search_paths_first
> ld: warning -prebind has no effect with -bundle
> ld: Undefined symbols:
> _Ns_DbRegisterDriver
> make[1]: *** [nsdbtest.so] Error 1
> make: *** [all] Error 1
Hmm.. I really don't know anything about Darwin or bundles. Is this
something you could fix? I'd appreciate it.
|