tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
freeradius build on netbsd-9
At mine, freeradius failed to build on netbsd-9 because it misses
symbols from libatomic.
I had to patch pkgsrc/net/freeradius/Makefile to add:
GCC_REQD+= 8
LIBS+= -latomic
.include "../../lang/gcc8-libs/buildlink3.mk"
That almost work: the runtime path for libatomic is wrong. The library
is to be found in gcc8/i486--netbsdelf/lib
But objdump -p radiusd shows RPATH as
/usr/pkg/gcc8//lib/.:/usr/pkg/gcc8/lib/.:/usr/pkg/gcc8/lib/gcc/i486--net
bsdelf/8.3.0:/usr/pkg/gcc8/lib:/usr/pkg/lib
Neither /usr/pkg/gcc8/lib nor
/usr/pkg/gcc8/lib/gcc/i486--netbsdelf/8.3.0 actually exist.Here is the
actual directory structure:
/usr/pkg/gcc8/
`-- i486--netbsdelf
`-- lib
`-- gcc
`-- i486--netbsdelf
`-- 8.3.0
`-- plugin
Did I do something wrong, or is gcc8-libs to be fixed?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index