[Kst] Kst 2.0.0. Beta 1 Release

D. V. Wiebe dvw at ketiltrout.net
Fri Dec 12 22:02:24 CET 2008


On Fri, Dec 12, 2008 at 03:02:09PM -0500, Barth Netterfield wrote:
> Its supposed to, but I have had trouble w/ this on kubuntu Hardy.  I have to 
> fully remove kst 1.x to build kst2.
> 
> I'm wondering if we shouldn't consider using cmake like the rest of KDE, 
> rather than cmake?
> 
> cbn

The problem appears to be effectively what Nicolas pointed out.  But the
reason for it is rather nefarious.  It is true 1.x versions of
libkst<foo>.so are installed in /usr/lib/ .  However, kst.pri contains

LIBS += -L$$OUTPUT_DIR/lib -L$$OUTPUT_DIR/plugin

I would have expected ld to find the libkst<foo> that was just built and
put in $$OUTPUT_DIR/lib before attempting to find one in the default path
(/usr/lib/).

However (this is the nefarious part), qmake appears to have prepended
(among other things) "-L/usr/X11R6/lib" to LIBS before the
-L$$OUTPUT_DIR/lib.  This is unfortunate since, in Slackware,
/usr/X11R6/lib is a symbolic link to /usr/lib, thus forcing ld to
consider system libraries first, before the local ones.

I'd argue qmake should only be inserting library paths that aren't
already in ld's default search path.  But I don't know why qmake's
developers wanted the X11 library directory searched first, so maybe
there's a reason?

-dvw

> On Friday 12 December 2008 14:10:29 D. V. Wiebe wrote:
> > On Fri, Dec 12, 2008 at 08:52:45AM +0100, Brisset, Nicolas wrote:
> > > > Doesn't build on slackware-current.  Build log below.  I thought it
> > > > might be due to my getdata hack, so I removed it and tried
> > > > again, disabling getdata completely.  No change.
> > >
> > > Could it be that it's picking up the wrong libkstwidgets.so.1 under
> > > /usr/lib/libkstwidgets.so.1, which might be one from kst1 which is in
> > > the libraries path used at link time?
> > >
> > > Nicolas
> >
> > Doesn't library versioning prevent that?
> >
> > -dvw
> 
> 
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

-- 
Don Wiebe                                   dwiebe at physics.utoronto.ca
Dept. of Physics/Univ. of Toronto
60 St. George St.                           Tele: +1-416-946-0946
Toronto ON                                  Fax:  +1-416-946-5636
Canada   M5S 1A7                            http://ketiltrout.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20081212/5963c7c7/attachment.sig 


More information about the Kst mailing list