|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
-lexpat bug on MacOS 10.6I am building TSK3.0.1 on a clean MacOS 10.6 install
The compile fails in linking ; img_cat cannot find libexpat: g++ -g -O2 -o img_cat img_cat.o -Wl,-bind_at_load ../../tsk3/.libs/ libtsk3.a -L/usr/local/lib /usr/local/lib/libafflib.a -lcrypto -lssl / usr/lib/libexpat.a -lz -lncurses -lreadline i686-apple-darwin9-g++-4.2.1: /usr/lib/libexpat.a: No such file or directory make[2]: *** [img_cat] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 03:51 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ Now what's really weird about this is that expat is not referenced in the autoconf file. It is in this file: ./tsk3/img/libtskimg.la:dependency_libs=' -L/usr/local/lib /usr/local/ lib/libafflib.la -lcrypto -lssl /usr/lib/libexpat.la -lz -lncurses - lreadline' And, of course, there is no libexpat.a, there is a shared library: 03:53 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ ls -l /usr/lib/*expat* -rwxr-xr-x 1 root wheel 487408 May 18 10:29 /usr/lib/libexpat. 1.5.2.dylib lrwxr-xr-x 1 root wheel 20 Oct 2 10:45 /usr/lib/libexpat. 1.dylib -> libexpat.1.5.2.dylib lrwxr-xr-x 1 root wheel 20 Oct 2 10:45 /usr/lib/libexpat.dylib -> libexpat.1.5.2.dylib -rwxr-xr-x 1 root wheel 805 Feb 19 2008 /usr/lib/libexpat.la 03:53 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ 03:53 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ cat /usr/lib/ libexpat.la # libexpat.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libexpat.1.dylib' # Names of this library. library_names='libexpat.1.5.0.dylib libexpat.1.dylib libexpat.dylib' # The name of the static archive. old_library='libexpat.a' # Libraries that this one depends upon. dependency_libs='' # Version information for libexpat. current=6 age=5 revision=0 # Is this an already installed library? installed=yes # Should we warn about portability when linking against -modules? shouldnotlink=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib' 03:54 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ Any thoughts? ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ sleuthkit-users mailing list https://lists.sourceforge.net/lists/listinfo/sleuthkit-users http://www.sleuthkit.org |
|
|
Re: -lexpat bug on MacOS 10.6Hi Simson,
This issue came up a while back with someone else. If they did not include AFFLIB with the build, the issue went away. The issue seems to be with the installation of libexpat. What does AFFLIB link against when you build it on the system? brian On Oct 11, 2009, at 6:54 PM, Simson Garfinkel wrote: > I am building TSK3.0.1 on a clean MacOS 10.6 install > > The compile fails in linking ; img_cat cannot find libexpat: > > g++ -g -O2 -o img_cat img_cat.o -Wl,-bind_at_load ../../tsk3/.libs/ > libtsk3.a -L/usr/local/lib /usr/local/lib/libafflib.a -lcrypto - > lssl /usr/lib/libexpat.a -lz -lncurses -lreadline > i686-apple-darwin9-g++-4.2.1: /usr/lib/libexpat.a: No such file or > directory > make[2]: *** [img_cat] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 > 03:51 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ > > Now what's really weird about this is that expat is not referenced > in the autoconf file. It is in this file: > > ./tsk3/img/libtskimg.la:dependency_libs=' -L/usr/local/lib /usr/ > local/lib/libafflib.la -lcrypto -lssl /usr/lib/libexpat.la -lz - > lncurses -lreadline' > > And, of course, there is no libexpat.a, there is a shared library: > > 03:53 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ ls -l /usr/lib/ > *expat* > -rwxr-xr-x 1 root wheel 487408 May 18 10:29 /usr/lib/libexpat. > 1.5.2.dylib > lrwxr-xr-x 1 root wheel 20 Oct 2 10:45 /usr/lib/libexpat. > 1.dylib -> libexpat.1.5.2.dylib > lrwxr-xr-x 1 root wheel 20 Oct 2 10:45 /usr/lib/ > libexpat.dylib -> libexpat.1.5.2.dylib > -rwxr-xr-x 1 root wheel 805 Feb 19 2008 /usr/lib/libexpat.la > 03:53 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ > > 03:53 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ cat /usr/lib/ > libexpat.la > # libexpat.la - a libtool library file > # Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 > 2005/12/18 22:14:06) > # > # Please DO NOT delete this file! > # It is necessary for linking the library. > > # The name that we can dlopen(3). > dlname='libexpat.1.dylib' > > # Names of this library. > library_names='libexpat.1.5.0.dylib libexpat.1.dylib libexpat.dylib' > > # The name of the static archive. > old_library='libexpat.a' > > # Libraries that this one depends upon. > dependency_libs='' > > # Version information for libexpat. > current=6 > age=5 > revision=0 > > # Is this an already installed library? > installed=yes > > # Should we warn about portability when linking against -modules? > shouldnotlink=no > > # Files to dlopen/dlpreopen > dlopen='' > dlpreopen='' > > # Directory that this library needs to be installed in: > libdir='/usr/lib' > 03:54 PM domex:~/domex/src/dist/sleuthkit-3.0.1$ > > > Any thoughts? > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference_______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ sleuthkit-users mailing list https://lists.sourceforge.net/lists/listinfo/sleuthkit-users http://www.sleuthkit.org |
| Free embeddable forum powered by Nabble | Forum Help |