bugGNUstep Application Project - Bugs: bug #39960, [MPDCon] assumes libraries to be...

 
 

bug #39960: [MPDCon] assumes libraries to be linked from /usr/local

Submitted by:  adr <adr>
Submitted on:  Thu 05 Sep 2013 08:30:02 PM UTC  
 
Category: ApplicationSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: Sebastian Reitenbach <buzzdee>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 07 Mar 2014 11:43:47 AM UTC, comment #4:

Thanks for feedback.
MPDCon is, since we took it over on GAP, more or less exclusively developed by me on OpenBSD. Here we install 3rd party packages to /usr/local, and that's the reason why its there.

Instead of using sed to get rid of it, you should be able to build like:

make ADDITIONAL_LDFLAGS="-lmpdclient -lSQLClient"
or similar to override what's in the Makefiles.

So if I understand correctly, its no real issue to you, therefore I'll just close the report. Feel free to reopen if necessary ;)

Sebastian Reitenbach <buzzdee>
Project MemberIn charge of this item.
Thu 06 Mar 2014 09:52:30 PM UTC, comment #3:

I filed this bug report, when writing installation scripts for Gentoo Linux for myself, and to get MPDCon and deps in the official tree. Recently, a Gentoo dev adopted the scripts, and it's added now. Good for us! :)

Anyway, /usr/lib is in `gcc -print-search-dirs`, and the libraries are perfectly found. The only thing was, that I thought it was not right to mix manually installed libs with system libs by default. But maybe I'm wrong, and it's just a matter of personal taste. I don't know what's Gentoo policy on this.

GNUmakefile.preamble is OK for me. Sorry for the confusion. I couldn't close the bug report myself.

adr <adr>
Thu 06 Mar 2014 06:00:32 PM UTC, comment #2:

Your libs (I guess especially libmpdclient) are installed in /usr/lib/ and they are not found?

what does:
gcc -print-search-dirs

show, does the libraries: line contains /usr/lib ?

Or does it pick up things in /usr/local/lib that you have manually installed but you do not want to do it?

Sebastian Reitenbach <buzzdee>
Project MemberIn charge of this item.
Sat 14 Dec 2013 12:44:31 PM UTC, comment #1:

I think now, this thing is not that much of a problem.
Bug report can be closed IMO.

adr <adr>
Thu 05 Sep 2013 08:30:02 PM UTC, original submission:

Background: https://bugs.gentoo.org/show_bug.cgi?id=480618
MPDCon 1.4

GNUmakefile.preamble is setup to link libraries from /usr/local. Normally they are installed into /usr, at least with Gentoo Linux.

ADDITIONAL_LDFLAGS += -L/usr/local/lib

I applied a sed script to remove it, but a configure option, or something else, would be nice. Cheers!

adr <adr>

 

(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 buzzdee (Posted a comment)
  • -unavailable- added by adr (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 07 Mar 2014 11:43:47 AM UTCbuzzdeeStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Thu 06 Mar 2014 06:00:32 PM UTCbuzzdeeStatusNone=>Need Info
      Assigned toNone=>buzzdee

    Back to the top


    Powered by Savane 3.1-cleanup