Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patchElf breaks libstrongswan #5045

Closed
ip1981 opened this issue Nov 19, 2014 · 0 comments
Closed

patchElf breaks libstrongswan #5045

ip1981 opened this issue Nov 19, 2014 · 0 comments
Assignees

Comments

@ip1981
Copy link
Contributor

ip1981 commented Nov 19, 2014

/nix/store/5a7gx1fmddqxxqc04mzwm73h6h4vxahk-strongswan-5.2.1/libexec/ipsec/starter: symbol lookup error: /nix/store/5a7gx1fmddqxxqc04mzwm73h6h4vxahk-strongswan-5.2.1/lib/ipsec/libstrongswan.so.0: undefined symbol: XXX
# strings /nix/store/5a7gx1fmddqxxqc04mzwm73h6h4vxahk-strongswan-5.2.1/lib/ipsec/libstrongswan.so.0 | grep XXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
# ldd -d /nix/store/5a7gx1fmddqxxqc04mzwm73h6h4vxahk-strongswan-5.2.1/lib/ipsec/libstrongswan.so.0
        linux-vdso.so.1 (0x00007fffaf1fc000)
        libdl.so.2 => /nix/store/gpaawfk6qvb1wdj4vrwvdgp4yqfcqqgf-glibc-2.19/lib/libdl.so.2 (0x00007fc77c9fc000)
        libpthread.so.0 => /nix/store/gpaawfk6qvb1wdj4vrwvdgp4yqfcqqgf-glibc-2.19/lib/libpthread.so.0 (0x00007fc77c7de000)
        libgcc_s.so.1 => /nix/store/crllq9d1maxyac2qiyvknyisnimhisa0-gcc-4.8.3/lib/libgcc_s.so.1 (0x00007fc77c5c7000)
        libc.so.6 => /nix/store/gpaawfk6qvb1wdj4vrwvdgp4yqfcqqgf-glibc-2.19/lib/libc.so.6 (0x00007fc77c21a000)
        /nix/store/gpaawfk6qvb1wdj4vrwvdgp4yqfcqqgf-glibc-2.19/lib64/ld-linux-x86-64.so.2 (0x00007fc77ce5b000)
undefined symbol: XXX   (/nix/store/5a7gx1fmddqxxqc04mzwm73h6h4vxahk-strongswan-5.2.1/lib/ipsec/libstrongswan.so.0)
grep --binary-files=text  XXX libstrongswan.so.0.0.0
...
mutex_unlockrwlock_condvar_createpthread_rwlock_destroypthread_rwlock_initpthread_rwlock_rdlockpthread_rwlock_trywrlockpthread_rwlock_unlockpthread_rwlock_wrlockspinlock_createpthread_spin_destroypthread_spin_initpthread_spin_lockpthread_spin_unlocksemaphore_createstream_parse_uri_unixchownunlinkregister_printf_specifierlibdl.so.2libpthread.so.0libgcc_s.so.1libc.so.6_edata__bss_start_endlibstrongswan.so.0/nix/store/gpaawfk6qvb1wdj4vrwvdgp4yqfcqqgf-glibc-2.19/lib:/nix/store/crllq9d1maxyac2qiyvknyisnimhisa0-gcc-4.8.3/libXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXGLIBC_2.2.5GLIBC_2.3.3GLIBC_2.3.2GLIBC_2.3GLIBC_2.7GLIBC_2.8GLIBC_2.14GLIBC_2.10GLIBC_2.17GLIBC_2.3.4
ip1981 added a commit to zalora/nixpkgs that referenced this issue Nov 19, 2014
It breaks libstrongswan:

/nix/store/5a7gx1fmddqxxqc04mzwm73h6h4vxahk-strongswan-5.2.1/libexec/ipsec/starter:
symbol lookup error:
/nix/store/5a7gx1fmddqxxqc04mzwm73h6h4vxahk-strongswan-5.2.1/lib/ipsec/libstrongswan.so.0:
undefined symbol: XXX

NixOS#5045
@shlevy shlevy self-assigned this Nov 20, 2014
@shlevy shlevy closed this as completed in 140e1de Nov 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants