Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2017 23:47:41 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   graphics/togl [undefined reference]
Message-ID:  <CALM2mEmb8N7N1SinKhX=3u7NEm54nX2JL1XposnuuU1zCdes5g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I ran into an issue with linking -ltogl from graphics/togl


I looked into it with
ld -L/usr/local/lib -ltogl and there's undefined references to libc

Is the port broken? How can I fix it?

==================================================
attempt to open /usr/local/lib/libtogl.so succeeded
-ltogl (/usr/local/lib/libtogl.so)
libX11.so.6 needed by /usr/local/lib/libtogl.so
found libX11.so.6 at /usr/local/lib/libX11.so.6
libGL.so.1 needed by /usr/local/lib/libtogl.so
found libGL.so.1 at /usr/local/lib/libGL.so.1
libXmu.so.6 needed by /usr/local/lib/libtogl.so
found libXmu.so.6 at /usr/local/lib/libXmu.so.6
libxcb.so.1 needed by /usr/local/lib/libX11.so.6
found libxcb.so.1 at /usr/local/lib/libxcb.so.1
libc.so.7 needed by /usr/local/lib/libX11.so.6
found libc.so.7 at //lib/libc.so.7
libnvidia-tls.so.1 needed by /usr/local/lib/libGL.so.1
found libnvidia-tls.so.1 at /usr/local/lib/libnvidia-tls.so.1
libnvidia-glcore.so.1 needed by /usr/local/lib/libGL.so.1
found libnvidia-glcore.so.1 at /usr/local/lib/libnvidia-glcore.so.1
libXext.so.6 needed by /usr/local/lib/libGL.so.1
found libXext.so.6 at /usr/local/lib/libXext.so.6
libXt.so.6 needed by /usr/local/lib/libXmu.so.6
found libXt.so.6 at /usr/local/lib/libXt.so.6
libXau.so.6 needed by /usr/local/lib/libxcb.so.1
found libXau.so.6 at /usr/local/lib/libXau.so.6
libpthread-stubs.so.0 needed by /usr/local/lib/libxcb.so.1
found libpthread-stubs.so.0 at /usr/local/lib/libpthread-stubs.so.0
libXdmcp.so.6 needed by /usr/local/lib/libxcb.so.1
found libXdmcp.so.6 at /usr/local/lib/libXdmcp.so.6
libm.so.5 needed by /usr/local/lib/libnvidia-glcore.so.1
found libm.so.5 at //lib/libm.so.5
libSM.so.6 needed by /usr/local/lib/libXt.so.6
found libSM.so.6 at /usr/local/lib/libSM.so.6
libICE.so.6 needed by /usr/local/lib/libXt.so.6
found libICE.so.6 at /usr/local/lib/libICE.so.6
ld: warning: cannot find entry symbol _start; not setting start address
//lib/libc.so.7: undefined reference to `__progname'
//lib/libc.so.7: undefined reference to `environ'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEmb8N7N1SinKhX=3u7NEm54nX2JL1XposnuuU1zCdes5g>