#68426 closed defect (duplicate)

serf1 fails to build for apr symbols

Reported by: rmottola (Riccardo) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: serf1

Description

On 10.5 64bit I get this failure:

ld: warning: ignoring file /opt/local/lib/libaprutil-1.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64)
Undefined symbols for architecture x86_64:
  "_apr_uri_unparse", referenced from:
      _serf_connection_create2 in outgoing.os
  "_apr_uri_parse", referenced from:
      _serf_connection_create2 in outgoing.os
      _serf__setup_request_digest_auth in auth_digest.os
  "_apr_uri_port_of_scheme", referenced from:
      _serf_connection_create2 in outgoing.os
  "_apr_date_checkmask", referenced from:
      _run_machine.isra.2 in bwtp_buckets.os
      _run_machine.isra.3 in response_buckets.os
  "_apr_base64_encode_len", referenced from:
      _serf_ssl_cert_export in ssl_buckets.os
      _serf__encode_auth_header in auth.os
  "_apr_base64_encode", referenced from:
      _serf_ssl_cert_export in ssl_buckets.os
      _serf__encode_auth_header in auth.os
  "_apr_uuid_get", referenced from:
      _serf__setup_request_digest_auth in auth_digest.os
  "_apr_uuid_format", referenced from:
      _serf__setup_request_digest_auth in auth_digest.os
  "_apr_md5", referenced from:
      _build_digest_ha2 in auth_digest.os
      _serf__handle_digest_auth in auth_digest.os
      _serf__setup_request_digest_auth in auth_digest.os
      _serf__validate_response_digest_auth in auth_digest.os
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

I have no updates for apr, so I suppose it is current I am on 64bit so it is correct and the warning is confusing.

Attachments (1)

serf1.log (59.2 KB) - added by rmottola (Riccardo) 12 months ago.

Download all attachments as: .zip

Change History (4)

Changed 12 months ago by rmottola (Riccardo)

Attachment: serf1.log added

comment:1 Changed 12 months ago by rmottola (Riccardo)

Actually... maybe the issue is apr.

$ file /opt/local/lib/libaprutil-1.dylib
/opt/local/lib/libaprutil-1.dylib: Mach-O dynamically linked shared library i386

so I have apr built for the wrong architecture, I have already seen something similar

comment:2 Changed 12 months ago by rmottola (Riccardo)

comment:3 Changed 12 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.