RoDi wrote: > Hi, > > does anyone know how to link JSS-3.4 on MacOS 10.2.6. I've compiled nss- > 3.8 and stored a Link to the Dynlibs in /usr/lib. > > A make in JSS-3.4 breaks with following message: > ld: warning can't open dynamic library: @executable_path/libsoftokn3. > dylib (checking for undefined symbols may be affected) (No such file or > directory, errno = 2) > ld: Undefined symbols: > _FC_GetFunctionList referenced from libnss3 expected to be defined in @ > executable_path/libsoftokn3.dylib > _NSC_GetFunctionList referenced from libnss3 expected to be defined in @ > executable_path/libsoftokn3.dylib > _NSC_ModuleDBFunc referenced from libnss3 expected to be defined in @ > executable_path/libsoftokn3.dylib > /usr/bin/libtool: internal link edit command failed > make: *** [Darwin6.6_DBG.OBJ/libjss3.dylib] Error 1 > > The file libsoftokn3.dylib is in /usr/lib > bash-2.05a$ ls /usr/lib/libsoftokn3.dylib > /usr/lib/libsoftokn3.dylib > > Does anyone know how to link libjss3.dylib?
I don't think we have ever built JSS on Mac OS X, so you are treading in unknown territories :-) It may just work, after you resolve build issues like this. I'd be interested in knowing your progress. To fix the linking problem with libsoftokn3.dylib, you need to use the -dylib_file linker flag. You should only link with libnss3.dylib directly. The fact that libnss3.dylib is linked with libsoftokn3.dylib should be considered an implementation detail. Unfortunately, some linkers need help to find the indirect dependencies. We use the following to build NSS test programs: ifeq ($(OS_ARCH), Darwin) EXTRA_SHARED_LIBS += -dylib_file @executable_path/libsoftokn3.dylib:$(DIST)/lib/libsoftokn3.dylib endif Something like that should work for JSS 3.4. Wan-Teh
smime.p7s
Description: S/MIME Cryptographic Signature
