Opened 14 years ago
Last modified 14 years ago
#27732 closed defect
flex fails to find libintl.dylib — at Version 2
Reported by: | tlax@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | mww@…, ryandesign@… | |
Port: | flex |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Trolliluola:~ tlax$ sudo port install wine-devel ---> Computing dependencies for wine-devel ---> Configuring wine-devel Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for wine-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wine-devel/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Change History (3)
Changed 14 years ago by tlax@…
comment:1 Changed 14 years ago by tlax@…
Noticed also that flex spurts out something like this:
Trolliluola:~ tlax$ flex dyld: Library not loaded: /opt/local/lib/libintl.8.dylib Referenced from: /opt/local/bin/flex Reason: no suitable image found. Did find: /opt/local/lib/libintl.8.dylib: no matching architecture in universal wrapper /usr/local/lib/libintl.8.dylib: no matching architecture in universal wrapper Trace/BPT trap
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww@… ryandesign@… added |
---|---|
Description: | modified (diff) |
Port: | flex added |
Priority: | High → Normal |
Summary: | wine-devel and wine fail to build on snow leopard (problem with flex) → flex fails to find libintl.dylib |
Please use WikiFormatting so your posts are legible, and fill in the Port and Cc fields appropriately.
From your log, we see that wine-devel fails to build because it cannot run flex. And as you found, flex cannot run because it has problems using your gettext library. It says there's no matching architecture, so it would be interesting to know what architecture /opt/local/bin/flex and /opt/local/lib/libintl.8.dylib were built for. "lipo -info" can tell you.
The fact that something in /usr/local is found could indicate a problem. Software in /usr/local frequently interferes with software installed by MacPorts, so please remove anything in /usr/local before trying again. Also, if you have any environment variables like DYLD_LIBRARY_PATH set, unset them.
wine-devel main.log