Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63900 closed defect (fixed)

xmlrpc-c: file not found: /opt/local/lib/libssl.1.1.dylib for architecture x86_64

Reported by: dbl001 (dbl) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: xmlrpc-c

Description

Building xmlrpc-c on OS X Catalina: :info:build ld: file not found: /opt/local/lib/libssl.1.1.dylib for architecture x86_64. xmlrpc-c builds on OS X Monterey

:info:build /usr/bin/clang++ -pthread   -dynamiclib -undefined suppress -single_module -flat_namespace -install_name /opt/local/lib/libxmlrpc_client++.8.51.dylib  client.osh client_simple.osh curl.osh libwww.osh wininet.osh pstream.osh -L. -lxmlrpc++ -lxmlrpc_packetsocket -Lblddir/src -lxmlrpc_client -Lblddir/src -Lblddir/lib/libutil -lxmlrpc -lxmlrpc_util -L/opt/local/lib -lxml2 -L/opt/local/lib -lz -L/opt/local/lib -llzma -lpthread -liconv -L/opt/local/lib -licui18n -licuuc -licudata -lm  -L/opt/local/lib -lcurl  -Lblddir/src -lxmlrpc_client -lxmlrpc -L/opt/local/lib -lxml2 -L/opt/local/lib -lz -L/opt/local/lib -llzma -lpthread -liconv -L/opt/local/lib -licui18n -licuuc -licudata -lm -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_xmlrpc-c/xmlrpc-c/work/xmlrpc-c-1.51.07/lib/libutil++ -lxmlrpc_util++ -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_xmlrpc-c/xmlrpc-c/work/xmlrpc-c-1.51.07/lib/libutil -lxmlrpc_util    -o libxmlrpc_client++.8.51.dylib
:info:build ld: file not found: /opt/local/lib/libssl.1.1.dylib for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [libxmlrpc_server_abyss++.8.51.dylib] Error 1

Attachments (2)

main.log (177.4 KB) - added by dbl001 (dbl) 3 years ago.
main.2.log (210.5 KB) - added by dbl001 (dbl) 3 years ago.

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by dbl001 (dbl)

Attachment: main.log added

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Keywords: xmlrpc-c removed
Summary: :info:build ld: file not found: /opt/local/lib/libssl.1.1.dylib for architecture x86_64xmlrpc-c: file not found: /opt/local/lib/libssl.1.1.dylib for architecture x86_64

comment:2 Changed 3 years ago by mouse07410 (Mouse)

comment:3 Changed 3 years ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 56e07a5cb0c6ce4578c37b57a6710ec956253d4f/macports-ports (master):

xmlrpc-c: update to 1.51.08

Closes: #63900

comment:4 in reply to:  2 Changed 3 years ago by reneeotten (Renee Otten)

Replying to mouse07410:

See https://trac.macports.org/ticket/63876#comment:4

no, that comment has nothing to do with this and one should not make random symlinks.

comment:5 Changed 3 years ago by reneeotten (Renee Otten)

dbl001: this works correctly for me locally on Catalina, please give it a try. Please make sure to update your ports tree, do a clean and try to install again (i.e., sudo port selfupdate && sudo port clean --all xmlrpc-c && sudo port install xmlrpc-c).

comment:6 Changed 3 years ago by dbl001 (dbl)

Same result.

$ sudo port selfupdate
$ sudo port clean --all xmlrpc-c
$  sudo port install xmlrpc-c
$ ls -l /opt/local/lib/libssl.1.1.dylib
ls: /opt/local/lib/libssl.1.1.dylib: No such file or directory

Changed 3 years ago by dbl001 (dbl)

Attachment: main.2.log added

comment:7 Changed 3 years ago by reneeotten (Renee Otten)

it's correct that opt/local/lib/libssl.1.1.dylib does not exist and the port will is/will be rebuild to use openssl3; this works for me and should work for you as well... Can you please make sure that you have all your ports updated (i.e., do sudo port upgrade outdated to make sure you have everything in a consistent state.

comment:8 Changed 3 years ago by dbl001 (dbl)

There were two versions of xmlrpc-c. I deleted them all the reinstalled with no errors. Thanks!

$ sudo port uninstall xmlrpc-c
The following versions of xmlrpc-c are currently installed:
 1) xmlrpc-c @1.16.42_2
 2) xmlrpc-c @1.51.07_0+libxml2 (active)
Enter option(s) [1-2/all]: all
--->  Uninstalling xmlrpc-c @1.16.42_2
--->  Deactivating xmlrpc-c @1.51.07_0+libxml2
--->  Cleaning xmlrpc-c
--->  Uninstalling xmlrpc-c @1.51.07_0+libxml2

$ sudo port install xmlrpc-c
--->  Computing dependencies for xmlrpc-c
--->  Fetching archive for xmlrpc-c
--->  Attempting to fetch xmlrpc-c-1.51.07_1+libxml2.darwin_19.x86_64.tbz2 from https://packages.macports.org/xmlrpc-c
--->  Attempting to fetch xmlrpc-c-1.51.07_1+libxml2.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/xmlrpc-c
--->  Attempting to fetch xmlrpc-c-1.51.07_1+libxml2.darwin_19.x86_64.tbz2 from https://kmq.jp.packages.macports.org/xmlrpc-c
--->  Building xmlrpc-c
--->  Staging xmlrpc-c into destroot                     
--->  Installing xmlrpc-c @1.51.07_1+libxml2             
--->  Activating xmlrpc-c @1.51.07_1+libxml2
--->  Cleaning xmlrpc-c
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.                             
--->  No broken ports found.

Note: See TracTickets for help on using tickets.