New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25677 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

mesa: ld: library not found for -lXplugin

Reported by: pakpenyo@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: mesa

Description (last modified by jeremyhu@…) (diff)

pakpenyo:~ pakpenyo$ sudo port install mesa +universal
Password:
--->  Computing dependencies for mesa
--->  Building mesa
Error: Target org.macports.build returned: shell command failed
Log for mesa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets

I will install wine-devel +universal and i've got this error when installing mesa

Attachments

main.log (26.0 KB) - added by pakpenyo@… 3 years ago.
main.log

Change History

Changed 3 years ago by pakpenyo@…

main.log

comment:1 Changed 3 years ago by ryandesign@…

  • Keywords mesa, snow leopard 10.6.4 removed
  • Owner changed from macports-tickets@… to jeremyhu@…
  • Port changed from mesa-7.8.2 to mesa
  • Summary changed from mesa-7.8.2 Installation Problem Shell Command Failed to mesa: ld: library not found for -lXplugin

Please remember to Cc port maintainers.

The relevant line seems to be:

ld: library not found for -lXplugin

On my system, mesa's libGL.dylib does link with /usr/lib/libXplugin.1.dylib, which was presumably provided by the operating system. Do you have that file?

comment:2 Changed 3 years ago by pakpenyo@…

Yes, i have /usr/lib/libXplugin.1.dylib.

comment:3 Changed 3 years ago by pakpenyo@…

Fixed.

Remove XQuartz Reinstall X11 from DVD Installation Uninstall all ports installed Clean all ports Install Mesa

Thanks a lot.

comment:4 Changed 3 years ago by jeremyhu@…

My guess is that you didn't install X11User.pkg when you updated to SL and you had /usr/lib/libXplugin.1.dylib but no /usr/lib/libXplugin.dylib symlink

A couple points:

The XQuartz provided by xquartz.macosforge.org does not interfere with the system X11 nor is it used by MacPorts (which is why MP didn't find its libXplugin).

Since you installed X11User.pkg off the installation DVD, you probably don't have the latest updates. You need to install the Combo Update from Apple

comment:5 Changed 3 years ago by pakpenyo@…

But i've ready in 10.6.4 (see keywords deleted by ryandesign@…) and absolutely installed X11 from DVD when install SL. This is fresh install OS, update with latest combo and online update.

comment:6 Changed 3 years ago by jeremyhu@…

Well if that's true, then why did you not have /usr/lib/libXplugin.dylib but did have /usr/lib/libXplugin.1.dylib ?

comment:7 Changed 3 years ago by pakpenyo@…

I don't know what happen. But i'm sure X11 is installed in my mbp. I'm just reinstall x11, macports pkg, clean all ports installed and run port selfupdate after removed xquartz. I'm using xquartz because i think it can solve the problem. Maybe spmething happen, or maybe i'm mistake, or maybe SL installation is corrupt.

Now my wine is okay and i can see my Winbox. Thanks Jeremy. And really sorry about my english. I'm from Indonesia. Shalom.

comment:8 Changed 3 years ago by jeremyhu@…

  • Description modified (diff)

Also dupe #26370

comment:9 Changed 3 years ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to worksforme

Well there's nothing we can do in MacPorts for this... if you can figure out what happened to cause the symlink to get removed, we can pass that along... but this is out of MP's domain.

comment:10 Changed 3 years ago by jeremyhu@…

It looks like the symlink wasn't moved over to the Essentials package, so you need to either install the X11 package off your DVD or do:

sudo ln -s libXplugin.1.dylib /usr/lib/libXplugin.dylib
Note: See TracTickets for help on using tickets.