how to compile and install lib3ds

241 views
Skip to first unread message

baowei lin

unread,
Aug 4, 2011, 2:11:27 AM8/4/11
to lib3ds
I want to install PTAMM. Before that , lib3ds is required. But when I
make it, there were some errors as follow:

/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o 3ds2obj
3ds2obj.o ../../src/lib3ds.la
gcc -g -O2 -o .libs/3ds2obj 3ds2obj.o ../../src/.libs/lib3ds.so -
Wl,--rpath -Wl,/root/local/lib
/usr/bin/ld: 3ds2obj.o: undefined reference to symbol 'pow@@GLIBC_2.0'
/usr/bin/ld: note: 'pow@@GLIBC_2.0' is defined in DSO /lib/libm.so.6
so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status


does anyone know the proplems?

Truyen Le Van

unread,
Aug 4, 2011, 8:14:59 PM8/4/11
to lib...@googlegroups.com
What OS are you trying to install?

From: baowei lin <linba...@gmail.com>
To: lib3ds <lib...@googlegroups.com>
Sent: Thursday, August 4, 2011 1:11 AM
Subject: [lib3ds] how to compile and install lib3ds

baowei lin

unread,
Aug 5, 2011, 3:50:44 AM8/5/11
to lib3ds
I want to install it in my fedora 14 32bit system.

On 8月4日, 下午8时14分, Truyen Le Van <truyenlv2...@yahoo.com> wrote:
> What OS are you trying to install?
>
> ________________________________
> From: baowei lin &lt;linbaowe...@gmail.com&gt;
> To: lib3ds &lt;lib...@googlegroups.com&gt;
> Sent: Thursday, August 4, 2011 1:11 AM
> Subject: [lib3ds] how to compile and install lib3ds
>
> I want to install PTAMM. Before that , lib3ds is required. But when I
> make it, there were some errors as follow:
>
> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o 3ds2obj
> 3ds2obj.o ../../src/lib3ds.la
> gcc -g -O2 -o .libs/3ds2obj 3ds2obj.o ../../src/.libs/lib3ds.so -
> Wl,--rpath -Wl,/root/local/lib
> /usr/bin/ld: 3ds2obj.o: undefined reference to symbol &#39;pow@@GLIBC_2.0&#39;
> /usr/bin/ld: note: &#39;pow@@GLIBC_2.0&#39; is defined in DSO /lib/libm.so.6

Truyen Le Van

unread,
Aug 6, 2011, 11:06:14 AM8/6/11
to lib...@googlegroups.com
No idea, I did it on Ubuntu10.04 64bit


From: baowei lin <linba...@gmail.com>
To: lib3ds <lib...@googlegroups.com>
Sent: Friday, August 5, 2011 2:50 AM
Subject: [lib3ds] Re: how to compile and install lib3ds

I want to install it in my fedora 14 32bit system.

On 8月4日, 下午8时14分, Truyen Le Van <truyenlv2...@yahoo.com> wrote:
> What OS are you trying to install?
>
> ________________________________
> From: baowei lin &lt;linbaowe...@gmail.com&gt;
> To: lib3ds &lt;lib...@googlegroups.com&gt;
> Sent: Thursday, August 4, 2011 1:11 AM
> Subject: [lib3ds] how to compile and install lib3ds
>
> I want to install PTAMM. Before that , lib3ds is required. But when I
> make it, there were some errors as follow:
>
> /bin/sh ../../libtool --tag=CC  --mode=link gcc  -g -O2  -o 3ds2obj
> 3ds2obj.o ../../src/lib3ds.la
> gcc -g -O2 -o .libs/3ds2obj 3ds2obj.o  ../../src/.libs/lib3ds.so  -
> Wl,--rpath -Wl,/root/local/lib
> /usr/bin/ld: 3ds2obj.o: undefined reference to symbol 'pow@@GLIBC_2.0'
> /usr/bin/ld: note: 'pow@@GLIBC_2.0' is defined in DSO /lib/libm.so.6
Reply all
Reply to author
Forward
0 new messages