On 8/22/13 3:22 AM, prhard...@ualg.pt wrote:
> Hi there,
>
> I need your assistance. I'm trying to install BioPerl with Fink, but
> got a warning follow the the error message with tk-pm5124-804.031-2
> during the procedure. I could not find a reasanable answer on FAQ
> forum or even google. Could you give me a tip?
>
> The error message:
>

<snip>

> Scanning binaries for incorrect dyld linking...
>        ./blib/arch/auto/Tk/Tk.bundle uses /opt/local/lib/libX11.6.dylib
>        ./blib/arch/auto/Tk/PNG/PNG.bundle uses /opt/local/lib/libz.1.dylib
> Please fix build process to get consistent use of fink's libraries.

<snip>

>
> Also include the following system information:
> Package manager version: 0.35.1
> Distribution version: selfupdate-rsync Wed Aug 21 20:11:53 2013, 10.7, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.6.3
> Xcode command-line tools: 4.6.0.0.1.1365549073
> tk-pm5124-804.031-2 is set to build with only one job.
>
>
>

The problem is that you have Macports installed and the build for 
tk-pm5124 has used its libraries.  You can have both Macports and Fink, 
but you will want to deactivate Macports when you build with Fink, and 
vice versa.  Having the two cross-link can result in runtime problems 
because of incompatible versions of libraries, and also can result in 
breakage in one system if you remove the other.

It should suffice to modify the .profile file in your home directory (or 
whatever you are actually using) temporarily by commenting out whatever 
Macports uses to set its environment--I don't use it myself, so I don't 
know what the exact line to look for is--and then start a new terminal 
window.

You'd do the same thing to deactivate Fink by commenting out the line 
that mentions /sw/bin/init.sh (or /sw/bin/init.csh, depending on what 
shell you're using).
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to