Subject: buildlink'd .la file has wrong .so instead of .dylib
To: None <>
From: Jeremy C. Reed <>
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++: 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:


I don't know what a .prl file is yet.

And work.belgium/qt-x11-free-3.3.4/lib/ has:

   # The name that we can dlopen(3).

   # Names of this library.

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 ->
   lrwxr-xr-x  1 jreed  build    33 20 Jul 19:07
   work.belgium/.buildlink//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 ->
   lrwxr-xr-x  1 jreed  build    31 20 Jul 19:07
   work.belgium/.buildlink//qt3/lib/libqt-mt.dylib ->
   -rw-r--r--  1 jreed  build  1089 20 Jul 19:07

The real /usr/pkg/qt3/lib/ has:

   # The name that we can dlopen(3).

   # 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