Closed Bug 469545 Opened 17 years ago Closed 17 years ago

Need a way to link to 64-bit libs

Categories

(Firefox Build System :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Nomis101, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; de-de) AppleWebKit/528.7+ (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1 Build Identifier: With the patches from Bug 370766 and Bug 468515 I've tried to build a 64-bit version of Thunderbird. But I've got the attached error. So it seems my libs that I've installed with Macports are not in 64-bit. Therefore I've compiled my own 64-bit version of the needed libs and installed it into /usr/local. But now I need a way to link to this 64-bit libs in my mozconfig. So that the libs in /usr/local are used for the build process instead of that in /opt. (Or if anybody nows a better way please let me know) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Attached file Error
Blocks: 468509
OK, I've solved this problem in a much better way. First I've included into the line "universal_archs" in /opt/local/etc/macports/macports.conf an additional x86_64. Than 'Ive installed all packages new with "sudo port install <portname> +universal". And now I have all needed files also in x86_64. So, the problem is fixed for me. If no one else need a way to link to 64-bit libs, this bug can be closed.
To install the libs as universal binarie (i386 / x86_64) via MacPorts solves this bug for me, but gives me a new one, see Bug 471059.
You shouldn't need 64-bit libs to build x86-64, just as you don't need PPC libs to build ppc. Use cross-compile instructions.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
I've updated two days ago to Mac OS X 10.6 and reinstalled MacPorts (v. 1.8.0, package for SnowLeopard). Now MacPorts installes anything (libidl, glib2, libiconv...) only in x86_64. So now I have it the other way around. I now get the mentioned error if I try to build in i386. So now I need to compile with CROSS_COMPILE=1 and "-arch i386" to get my normal i386 binarie.
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: