Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: getting the error lipo: can't open input file: while compiling modules

by Anonymous Monk
on Dec 18, 2007 at 12:30 UTC ( [id://657661]=note: print w/replies, xml ) Need Help??


in reply to Re^2: getting the error lipo: can't open input file: while compiling modules
in thread getting the error lipo: can't open input file: while compiling modules

Try setting the DYLD_LIBRARY_PATH might help. Or altering the setup.py to add -L/usr/lib.
  • Comment on Re^3: getting the error lipo: can't open input file: while compiling modules

Replies are listed 'Best First'.
Re^4: getting the error lipo: can't open input file: while compiling modules
by boysie (Initiate) on Dec 18, 2007 at 13:41 UTC
    I've used realclean and clean to no effect.
    I've made sure the /usr/lib was in the path and am no longer getting the Config.pm errors.

    Now my main problem is getting DBD::mysql to build and install.

    I'm getting the following error on make: Using DBI 1.601 (for perl 5.008008 on darwin-2level) installed in /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    bdc:~/habitat/src/DBD-mysql-3.0008 root# make
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/Mysql.pm blib/lib/Mysql.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cc -c -I/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/DBI -I/usr/local/mysql/include -Os -arch i386 -fno-common -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-common -DPERL_DARWIN -no-cpp-precomp -arch i686 -arch ppc -msse2 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"3.0008\" -DXS_VERSION=\"3.0008\" "-I/usr/local/lib/perl5/5.8.8/darwin-2level/CORE" dbdimp.c
    lipo: /var/tmp//ccqO3ZA9.out and /var/tmp//cc7PX3gs.out have the same architectures (i386) and can't be in the same fat output file
    make: *** dbdimp.o Error 1

    I'm not even sure why this is happening, but the last part of the error starting with lipo: is one that I've been struggling with...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://657661]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-23 06:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found