Subject: buildlink'd .la file has wrong .so instead of .dylib
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 07/20/2005 22:49:53
This is a Mac OS X system. qt3-tools fails do to obviously missing:
g++: libqt-mt.so: No such file or directory
Why would buildlink'd .la file have .so instead of .dylib? I need to look
closely at mk/buildlink3 but maybe someone can give me a clue :)
The work.belgium/qt-x11-free-3.3.4/lib/libqt-mt.prl has a line with:
QMAKE_PRL_TARGET = libqt-mt.so.3.3.4
I don't know what a .prl file is yet.
And work.belgium/qt-x11-free-3.3.4/lib/libqt-mt.la has:
# The name that we can dlopen(3).
dlname='libqt-mt.so.3'
# Names of this library.
library_names='libqt-mt.so.3.3.4 libqt-mt.so.3 libqt-mt.so'
But actually installed is:
lrwxr-xr-x 1 jreed build 37 20 Jul 19:07
work.belgium/.buildlink//qt3/lib/libqt-mt.3.0.3.dylib ->
/usr/pkg/qt3/lib/libqt-mt.3.0.3.dylib
lrwxr-xr-x 1 jreed build 33 20 Jul 19:07
work.belgium/.buildlink//qt3/lib/libqt-mt.3.dylib ->
/usr/pkg/qt3/lib/libqt-mt.3.dylib
lrwxr-xr-x 1 jreed build 27 20 Jul 19:07
work.belgium/.buildlink//qt3/lib/libqt-mt.a ->
/usr/pkg/qt3/lib/libqt-mt.a
lrwxr-xr-x 1 jreed build 31 20 Jul 19:07
work.belgium/.buildlink//qt3/lib/libqt-mt.dylib ->
/usr/pkg/qt3/lib/libqt-mt.dylib
-rw-r--r-- 1 jreed build 1089 20 Jul 19:07
work.belgium/.buildlink//qt3/lib/libqt-mt.la
The real /usr/pkg/qt3/lib/libqt-mt.la has:
# The name that we can dlopen(3).
dlname='libqt-mt.3.dylib'
# Names of this library.
library_names='libqt-mt.3.0.3.dylib libqt-mt.3.dylib libqt-mt.dylib'
Last month, it built fine for me. ... I will look at some cvs commit logs
too ...
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/