graphics/togl [undefined reference]

blubee blubeeme gurenchan at gmail.com
Sat Oct 28 15:47:43 UTC 2017


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'


More information about the freebsd-ports mailing list