Re: [q-lang-users] Problems building Q 5.3 on Mac OS X 10.2.5
Brought to you by:
agraef
From: Mike H. <m3...@rc...> - 2004-05-27 02:22:31
|
> please try the following: In modules/clib/Makefile.am, uncomment the 1st > LIBADD line (line 11) and comment out the second one (line 12). Then run > automake (or the autogen script). > You"ll also have to rerun configure, of course. Well, I performed the comment exchange in the Makefile ... I hope that's legitimate. (Seems to be OK, in this case.) ================ Making all in modules Making all in clib Making all in . /bin/sh ../../libtool --mode=link gcc -g -O2 -o clib.la -rpath /usr/local/lib/q -no-undefined -module -avoid-version clib.lo -L../../libq -lq -lgmp -lpthread -L../../glob -lglob -L../../regex -lregex -lm rm -fr .libs/clib.la .libs/clib.* .libs/clib.* gcc -dynamiclib -o .libs/clib.so clib.lo -L/usr/local/lib -L/Users/mgh/public/q/q-5.3/libq -L/Users/mgh/public/q/q-5.3/libq/.libs -lq -lgmp -lpthread -L/Users/mgh/public/q/q-5.3/glob /Users/mgh/public/q/q-5.3/glob/.libs/libglob.al -L/Users/mgh/public/q/q-5.3/regex /Users/mgh/public/q/q-5.3/regex/.libs/libregex.al -lm -lc -install_name /usr/local/lib/q/clib.so ld: Undefined symbols: _isuint _mkuint /usr/bin/libtool: internal link edit command failed ================ It sure looks like we're specifying the right libraries, and libq.dylib does exist in libq/.libs. Strange that it doesn't see those symbols. $ pwd /Users/mgh/public/q/q-5.3/libq $ ls -l .libs total 96 -rwxr-xr-x 1 mgh staff 17804 May 26 14:23 libq.5.0.0.dylib* lrwxr-xr-x 1 mgh staff 16 May 26 14:23 libq.5.dylib@ ->libq.5.0.0.dylib -rw-r--r-- 1 mgh staff 11188 May 26 14:23 libq.a lrwxr-xr-x 1 mgh staff 16 May 26 14:23 libq.dylib@ -> libq.5.0.0.dylib lrwxr-xr-x 1 mgh staff 10 May 26 14:23 libq.la@ -> ../libq.la -rw-r--r-- 1 mgh staff 717 May 26 14:23 libq.lai $ nm .libs/libq.dylib | grep uint ... 00001830 T _isuint 00001108 T _mkuint ================ On the "good news" front: I loaded Q-4.5 last night, and it compiled/installed just fine. For awhile, I was convinced that 'libtool' was acting up on Q 5.3, but it's the same between 4.5 and 5.3. Thank you for the tips and advice! I'll play with this alternate way of selecting the libraries. |