[PD] help with error compiling externals in 6.externs?

Forrest Curo treegestalt at gmail.com
Sat May 30 01:03:03 CEST 2015


Okay, this is a debian 7.something with the packaging manually fnurgled,
fixed (I hope) with 'apt-get upgrade' this morning -- and usr/lib contains
both '386-linux-gnu' and 'x86_64-linux-gnu' -- But neither of these contain
a file named 'libc.so' or 'libm.so'.

Tried 'apt-get install libc.so; and 'apt-get install libm.so'
 [I think the latter gave me a bunch of irrelevant stuff!]

and the result is still:
make pd_linux
gcc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow
-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch
-I../../src -fPIC -o obj1.o -c obj1.c
ld -shared -o obj1.pd_linux obj1.o -lc -lm
ld: cannot find -lc
ld: cannot find -lm
make: *** [obj1.pd_linux] Error 1

?

On Fri, May 29, 2015 at 11:11 AM, IOhannes m zmölnig <zmoelnig at iem.at>
wrote:

> On 05/29/2015 05:40 PM, Charles Z Henry wrote:
> > You should have a
> > /usr/lib/libc.so
> > or /usr/lib64/libc.so
> >
> > and
> > /usr/lib/libm.so
> > or /usr/lib64/libm.so
>
>
> as the OP indicated that they are using "apt-get", it seems they are on
> Debian (or a derivative).
> Debian does not use /usr/lib64/ but has another multi-arch naming scheme
> that is more generic and supports more than a single architecture.
>
> you should have:
>
> /usr/lib/${HOST_TRIPLET}/libc.so
> /usr/lib/${HOST_TRIPLET}/libm.so
>
> where ${HOST_TRIPLET} is something like "x86_64-linux-gnu" (on a 64bit
> system) or "i386-linux-gnu" (on 32bit)
>
> gfasmrd
> IOhannes
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150529/a7481c3c/attachment.html>


More information about the Pd-list mailing list