Skip to main content.

2003-Jan-13

When starting to build pkgsrc/x11/qt3-libs under Linux, I saw that my jpeg was a.out but should be ELF. Then libtool-base (which was installed Dec. 3), then x11-links ... I saw that every /var/db/pkg/*/+BUILD_INFO file had OBJECT_FMT= a.out.

But "bmake show-var VARNAME=OBJECT_FMT" showed ELF. And file(1) said /usr/lib/libjpeg.so.62.0 was ELF.

This was because mk files didn't know. I modified bsd.prefs.mk, so it would be ELF for Linux. ** need to send-pr

And I changed all those +BUILD_INFO files:

# perl -pi -e 's/OBJECT_FMT= a.out/OBJECT_FMT= ELF/' /var/db/pkg/*/+BUILD_INFO

Later qt3-libs wouldn't build, because missing libstdc++.so.5. I am using pkgsrc to provide all software for Linux distribution. So my gcc libraries needed symlinks to /usr/lib/. **Need to send-pr.