tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ABI=64 on MacOS 10.4.11/PPC



I'm trying to bootstrap pkgsrc with --abi=64 on a G5 running MacOS X 10.4.11.
This is what I end up with:

gcc -isystem /usr/include -L/Users/schwarz/pkgsrc/bootstrap/work/wrk/ pkgtools/pkg_install/work/libarchive/.libs -L/Users/schwarz/pkgsrc/ bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -L/Users/ schwarz/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/ libnbcompat -L/usr/lib -L/Users/schwarz/pkg/lib -L../lib -o pkg_add main.o perform.o -linstall -lfetch -larchive -lbz2 -lz -lcrypto - lnbcompat ld64 warning: in /usr/lib/libbz2.dylib, file is not of required architecture ld64 warning: in /usr/lib/libz.dylib, file is not of required architecture ld64 warning: in /usr/lib/libcrypto.dylib, file is not of required architecture
Undefined symbols:
  _ERR_clear_error, referenced from:
      _file_to_certs in libinstall.a(pkcs7.o)
  _PKCS7_verify, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _ERR_peek_error, referenced from:
      _file_to_certs in libinstall.a(pkcs7.o)
  _crc32, referenced from:
      _init in libarchive.a(archive_read_support_compression_gzip.o)
_read_ahead in libarchive.a (archive_read_support_compression_gzip.o)
  _X509_STORE_free, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _inflateInit2_, referenced from:
      _decompress_buffer in libinstall.a(decompress.o)
_archive_read_format_zip_read_data in libarchive.a (archive_read_support_format_zip.o)
      _init in libarchive.a(archive_read_support_compression_gzip.o)
  _inflate, referenced from:
      _decompress_buffer in libinstall.a(decompress.o)
_archive_read_format_zip_read_data in libarchive.a (archive_read_support_format_zip.o) _read_ahead in libarchive.a (archive_read_support_compression_gzip.o)
  _BZ2_bzDecompressEnd, referenced from:
      _decompress_buffer in libinstall.a(decompress.o)
      _finish in libarchive.a(archive_read_support_compression_bzip2.o)
  _X509_check_purpose, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _BIO_ctrl, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _inflateEnd, referenced from:
      _decompress_buffer in libinstall.a(decompress.o)
_archive_read_format_zip_cleanup in libarchive.a (archive_read_support_format_zip.o)
      _finish in libarchive.a(archive_read_support_compression_gzip.o)
  _BIO_s_mem, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _inflateReset, referenced from:
_archive_read_format_zip_read_data in libarchive.a (archive_read_support_format_zip.o)
  _PEM_write_bio_PKCS7, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _sk_free, referenced from:
      _file_to_certs in libinstall.a(pkcs7.o)
      _file_to_certs in libinstall.a(pkcs7.o)
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _BIO_free, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _EVP_read_pw_string, referenced from:
      _ssl_pass_cb in libinstall.a(pkcs7.o)
  _X509_STORE_new, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _X509_check_private_key, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _X509_get_subject_name, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _ERR_load_crypto_strings, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _PKCS7_sign, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _CRYPTO_free, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _PKCS7_get0_signers, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _sk_insert, referenced from:
      _file_to_certs in libinstall.a(pkcs7.o)
  _BIO_new, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _sk_new_null, referenced from:
      _file_to_certs in libinstall.a(pkcs7.o)
  _sk_num, referenced from:
      _file_to_certs in libinstall.a(pkcs7.o)
      _file_to_certs in libinstall.a(pkcs7.o)
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _BZ2_bzDecompress, referenced from:
      _decompress_buffer in libinstall.a(decompress.o)
_read_ahead in libarchive.a (archive_read_support_compression_bzip2.o)
  _OPENSSL_add_all_algorithms_noconf, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _PEM_read_X509, referenced from:
      _file_to_certs in libinstall.a(pkcs7.o)
  _sk_value, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _X509_NAME_oneline, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _BZ2_bzDecompressInit, referenced from:
      _decompress_buffer in libinstall.a(decompress.o)
      _init in libarchive.a(archive_read_support_compression_bzip2.o)
      _init in libarchive.a(archive_read_support_compression_bzip2.o)
  _X509_STORE_load_locations, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _EVP_PKEY_free, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _BIO_new_mem_buf, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _BIO_free_all, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _PEM_read_PrivateKey, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
  _PKCS7_free, referenced from:
      _easy_pkcs7_sign in libinstall.a(pkcs7.o)
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
  _PEM_read_bio_PKCS7, referenced from:
      _easy_pkcs7_verify in libinstall.a(pkcs7.o)
ld64-62.1 failed: symbol(s) not found
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /Users/schwarz/pkgsrc/bootstrap/work/wrk/pkgtools/ pkg_install/work/pkg_install-20090911/add
*** Error code 1

Stop.
bmake: stopped in /Users/schwarz/pkgsrc/bootstrap/work/wrk/pkgtools/ pkg_install/work/pkg_install-20090911
*** Error code 1

Stop.
bmake: stopped in /Users/schwarz/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
bmake: stopped in /Users/schwarz/pkgsrc/pkgtools/pkg_install
===> exited with status 1
aborted.

Is this simply due to MacOS 10.4's lack of shipping the 64 bit versions of the above libraries? As such, I can compile code with -m64 and perfectly run the resulting 64 bit binary.

--
Georg Schwarz    http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost  +49 151 11559652




Home | Main Index | Thread Index | Old Index