Opened 3 years ago

Last modified 2 years ago

#63515 assigned defect

install auto-multiple-choice 1.4.0_1 --- ld returned 1 exit status

Reported by: leingang Owned by: nortcele
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: auto-multiple-choice

Description

I have used this port for a long time, but it recently stopped working as expected. I uninstalled and tried to reinstall but now it won't build. The first error I can find in the log file is;

:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: error: ld returned 1 exit status

I'm on MacOS 10.15.7 and macports version 2.7.1.

Attachments (1)

main.log (895.1 KB) - added by leingang 3 years ago.
port install log file

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by leingang

Attachment: main.log added

port install log file

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Owner: set to nortcele
Status: newassigned

comment:2 Changed 3 years ago by nortcele

It seems that some dependencies are not where there are expected to be.

I managed to have a functionning installation of AMC with the following commands.

First uninstall all installed port to be sure to have updated versions of all dependencies.

sudo port uninstall installed

Then update Macports.

sudo port selfupdate

Then install perl5 at version 5.30 to be sure that modules are installed in the perl5.30 hierarchy and not some tools in perl5.28 hierarchy and others in perl3.30 hierarchy (which result in a non functioning auto-multiple-choice application).

sudo port install perl5 +perl5_30

If you haven't installed XQuartz, then install Macports version of Xorg (Macport version is more recent than XQuartz.

sudo port install xorg-server xterm xman xlogo

After installation of Macports version of Xorg, you should logout from your session and log in again.

Then install auto-multiple-choice.

 sudo port install auto-multiple-choice +mactex

Instead of the 1.4.0 version of auto-multiple-choice, you could install a more recent version with the following command.

 sudo port install auto-multiple-choice-devel +mactex

But you could not install the 1.4.0 version and the devel version at the same time.

I'll try to find some time to test and update auto-multiple-choice port to the recent 1.5.0 version.

My test were with:

  • macOS 10.15.7 19H1417
  • Xcode 12.4 12D4e
  • MacPorts 2.7.1,
Version 2, edited 3 years ago by nortcele (previous) (next) (diff)

comment:3 Changed 3 years ago by leingang

This seems to be working for me now, thank you. I'm nervous about having uninstalled everything since I'm sure there are other ports I depend on and I'm unaware of them.

I made a record of all my installed ports before uninstalling:

port installed > installed-ports

If I do a diff of that vs the current list of installed ports, can I go back and reinstall some of the old ones? (Obviously I'd skip the old perl ports)

comment:4 Changed 3 years ago by nortcele

It's difficult to say. Many ports in the list will be there because they were installed as dependencies for a port you requested. And dependencies change with time.

My strategy in these cases where I can't remember what ports I installed is to wait until I need them again or I remember why I needed them.

comment:5 Changed 2 years ago by nortcele

Ticket could be closed.

Note: See TracTickets for help on using tickets.