I'm trying to find a package that distributes libSM.a On Sat, Sep 26, 2009 at 10:39 PM, Mark Abraham <[email protected]> wrote: > Jack Shultz wrote: >> >> Hello, >> >> I am trying to build statically with the small source changes I made >> yesterday. >> >> I'm building on 32 bit linux with single precision. I have libSM >> >> [r...@vps gromacs-4.0.5]# ls /usr/lib/libSM* >> /usr/lib/libSM.so /usr/lib/libSM.so.6 /usr/lib/libSM.so.6.0.0 >> >> I get this error message >> >> cc -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused >> -funroll-all-loops -std=gnu99 -static -o grompp grompp.o -L/usr/lib >> ./.libs/libgmxpreprocess.a ../mdlib/.libs/libmd.a >> /root/gromacs-4.0.5/src/gmxlib/.libs/libgmx.a ../gmxlib/.libs/libgmx.a >> -lnsl -lfftw3f -lm -lSM -lICE -lX11 >> /usr/bin/ld: cannot find -lSM >> collect2: ld returned 1 exit status >> make[3]: *** [grompp] Error 1 >> make[3]: Leaving directory `/root/gromacs-4.0.5/src/kernel' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/root/gromacs-4.0.5/src' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/root/gromacs-4.0.5/src' >> make: *** [all-recursive] Error 1 >> >> I used this flag >> ./configure CPPFLAGS="-L/usr/lib" --enable-all-static > > You have libSM, but you have only the libraries suitable for dynamic > linking. You need /usr/lib/libSM.a on your library search path for static > linking. It's slightly superior to use ./configure LIBS="-L/xxx/yyy", but > usually equivalent in practice. > > Mark > _______________________________________________ > gmx-users mailing list [email protected] > http://lists.gromacs.org/mailman/listinfo/gmx-users > Please search the archive at http://www.gromacs.org/search before posting! > Please don't post (un)subscribe requests to the list. Use the www interface > or send it to [email protected]. > Can't post? Read http://www.gromacs.org/mailing_lists/users.php >
-- Jack http://drugdiscoveryathome.com http://hydrogenathome.org _______________________________________________ gmx-users mailing list [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. Can't post? Read http://www.gromacs.org/mailing_lists/users.php

