bugGnash - The GNU Flash player - Bugs: bug #32849, klash4 linking fails with kdelibs3...

 
 

bug #32849: klash4 linking fails with kdelibs3 installed

Submitted by:  Bastiaan Jacques <bjacques>
Submitted on:  Sat 19 Mar 2011 03:52:45 AM UTC  
 
Category: buildSeverity: 3 - Normal
Release: masterStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 19 Mar 2011 12:45:33 PM UTC, comment #6:

The problem seems to be that kde.m4 looks for libkdeui.la. Aside from kde3.m4 this is our only script that looks for .la files, so I'm guessing this is a copy/paste leftover.

Bastiaan Jacques <bjacques>
Project Member
Sat 19 Mar 2011 12:38:16 PM UTC, comment #5:

The main change is that KDE4_LIBS is now -L/usr/lib/kde4/devel -lkdeui -lkdecore, which makes all the difference.

Bastiaan Jacques <bjacques>
Project Member
Sat 19 Mar 2011 12:21:18 PM UTC, comment #4:

Interestingly, if I reinstall kdelibs3 after running configure, linking still works fine.

Bastiaan Jacques <bjacques>
Project Member
Sat 19 Mar 2011 12:13:03 PM UTC, comment #3:

The flags added by libtool come from /usr/lib/libkdeui.la, which is part of kdelibs3 on my system.

Removing that package and rerunning ./configure solves the linking problem.

Bastiaan Jacques <bjacques>
Project Member
Sat 19 Mar 2011 11:59:17 AM UTC, comment #2:

Replacing -rpath with -Wl,-rpath -Wl,/home/bastiaan/.kde/lib/kde4 also ensures a link without errors.

Bastiaan Jacques <bjacques>
Project Member
Sat 19 Mar 2011 11:48:05 AM UTC, comment #1:

Setting -rpath to any other path changes nothing, but removing it fixes the link error.

Bastiaan Jacques <bjacques>
Project Member
Sat 19 Mar 2011 03:52:45 AM UTC, original submission:

"-rpath /home/bastiaan/.kde/lib/kde4" seems to be the culprit. This comes from the special variable plugindir in Makefile.am. How exactly libtool goes from -rpath to adding nonexistent libraries to the link command is beyond me.

/home/bastiaan/.kde/lib/kde4 does not exist.

configuring with --with-plugin-install=system has no effect.

OS is Fedora 15.

dumpconfig:

Bastiaan Jacques <bjacques>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bjacques (talked to hicham about link failure)
  • -unavailable- added by bjacques (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Mar 2011 12:48:37 PM UTCbjacquesStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 19 Mar 2011 12:13:03 PM UTCbjacquesSummaryklash4 linking fails=>klash4 linking fails with kdelibs3 installed
    Sat 19 Mar 2011 03:54:18 AM UTCbjacquesCarbon-Copy-=>Added hichamhaouari
    Sat 19 Mar 2011 03:53:49 AM UTCbjacquesCarbon-CopyRemoved hichamhaiouri=>-
    Sat 19 Mar 2011 03:53:35 AM UTCbjacquesCarbon-Copy-=>Added hichamhaiouri

    Back to the top


    Powered by Savane 3.1-cleanup1