I was having a problem compiling SER in FreeBSD. Some of the libraries are not referenced correctly. Here are the notes from the install.
Compiled against Sems 2.0-rc1 and FreeBSD 6.2 all applications installed from ports. command used to compile gmake group_include="standard standard-dep" all
To get some modules to compile properly, I did the following.
For XMLPRC ln -s /usr/local/lib/libxml2.a /usr/lib/libxml2.a ln -s /usr/local/lib/libxml2.la /usr/lib/libxml2.la ln -s /usr/local/lib/libxml2.so /usr/lib/libxml2.so ln -s /usr/local/include/libxml2 /usr/include/libxml2
For Modules Depending on XCAP (xcap presence pa rls) ln -s /usr/local/include/iconv.h /usr/include/iconv.h
Still can't get EVAL module to compile tried the following. mkdir /usr/includes/uuid ln -s /usr/local/sys/uuid.h /usr/include/uuid/uuid.h
Got Error gmake[1]: Entering directory `/usr/local/ser/src/ser-2.0.0-rc1/ modules/eval' gcc -shared -Wl,-O2 -Wl,-E eval.o -luuid -o eval.so /usr/bin/ld: cannot find -luuid gmake[1]: *** [eval.so] Error 1 gmake[1]: Leaving directory `/usr/local/ser/src/ser-2.0.0-rc1/modules/ eval'
You'll probably need one more link (guessing the paths) ln -s /usr/local/include/libuuid.so.1 /usr/include/libuuid.so.1
Michal
On Čt, 2007-06-21 at 16:06 -0500, Todd Lewis wrote:
I was having a problem compiling SER in FreeBSD. Some of the libraries are not referenced correctly. Here are the notes from the install.
Compiled against Sems 2.0-rc1 and FreeBSD 6.2 all applications installed from ports. command used to compile gmake group_include="standard standard-dep" all
To get some modules to compile properly, I did the following.
For XMLPRC ln -s /usr/local/lib/libxml2.a /usr/lib/libxml2.a ln -s /usr/local/lib/libxml2.la /usr/lib/libxml2.la ln -s /usr/local/lib/libxml2.so /usr/lib/libxml2.so ln -s /usr/local/include/libxml2 /usr/include/libxml2
For Modules Depending on XCAP (xcap presence pa rls) ln -s /usr/local/include/iconv.h /usr/include/iconv.h
Still can't get EVAL module to compile tried the following. mkdir /usr/includes/uuid ln -s /usr/local/sys/uuid.h /usr/include/uuid/uuid.h
Got Error gmake[1]: Entering directory `/usr/local/ser/src/ser-2.0.0-rc1/ modules/eval' gcc -shared -Wl,-O2 -Wl,-E eval.o -luuid -o eval.so /usr/bin/ld: cannot find -luuid gmake[1]: *** [eval.so] Error 1 gmake[1]: Leaving directory `/usr/local/ser/src/ser-2.0.0-rc1/modules/ eval'
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Thank for the help. Using the hint, I searched the freebsd ports and found the answer.
I have to install /usr/ports/misc/e2fsprogs-libuuid
Then make some symbolic links. ln -s /usr/local/include/uuid /usr/include/uuid ln -s /usr/local/lib/libuuid.so /usr/lib/libuuid.so
On Jun 21, 2007, at 4:45 PM, Michal Matyska wrote:
You'll probably need one more link (guessing the paths) ln -s /usr/local/include/libuuid.so.1 /usr/include/libuuid.so.1
Michal
On Čt, 2007-06-21 at 16:06 -0500, Todd Lewis wrote:
I was having a problem compiling SER in FreeBSD. Some of the libraries are not referenced correctly. Here are the notes from the install.
Compiled against Sems 2.0-rc1 and FreeBSD 6.2 all applications installed from ports. command used to compile gmake group_include="standard standard-dep" all
To get some modules to compile properly, I did the following.
For XMLPRC ln -s /usr/local/lib/libxml2.a /usr/lib/libxml2.a ln -s /usr/local/lib/libxml2.la /usr/lib/libxml2.la ln -s /usr/local/lib/libxml2.so /usr/lib/libxml2.so ln -s /usr/local/include/libxml2 /usr/include/libxml2
For Modules Depending on XCAP (xcap presence pa rls) ln -s /usr/local/include/iconv.h /usr/include/iconv.h
Still can't get EVAL module to compile tried the following. mkdir /usr/includes/uuid ln -s /usr/local/sys/uuid.h /usr/include/uuid/uuid.h
Got Error gmake[1]: Entering directory `/usr/local/ser/src/ser-2.0.0-rc1/ modules/eval' gcc -shared -Wl,-O2 -Wl,-E eval.o -luuid -o eval.so /usr/bin/ld: cannot find -luuid gmake[1]: *** [eval.so] Error 1 gmake[1]: Leaving directory `/usr/local/ser/src/ser-2.0.0-rc1/ modules/ eval'
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers