syslog-ng: /usr/lib/libssl.so: file not recognized: file format not recognized
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
latest archlinux / openwrt / packages:
edit: works with debian 11. so what's the difference?
ket-dest.lo modules/afsocket/libafsocket_la-socket-options.lo modules/afsocket/libafsocket_la-transport-mapper.lo modules/afsocket/libafsocket_la-afinet.lo modules/afsocket/libafsocket_la-afinet-source.lo modules/afsocket/libafsocket_la-afinet-dest.lo modules/afsocket/libafsocket_la-afinet-dest-failover.lo modules/afsocket/libafsocket_la-socket-options-inet.lo modules/afsocket/libafsocket_la-socket-options-unix.lo modules/afsocket/libafsocket_la-transport-mapper-inet.lo modules/afsocket/libafsocket_la-afunix-source.lo modules/afsocket/libafsocket_la-afunix-dest.lo modules/afsocket/libafsocket_la-transport-mapper-unix.lo modules/afsocket/libafsocket_la-transport-unix-socket.lo modules/afsocket/libafsocket_la-compat-unix-creds.lo modules/afsocket/libafsocket_la-afsocket-grammar.lo modules/afsocket/libafsocket_la-afsocket-parser.lo modules/afsocket/libafsocket_la-afsocket-plugin.lo modules/afsocket/libafsocket_la-systemd-syslog-source.lo ./lib/libsyslog-ng.la -L/mnt/zeus/hdd/sources/openwrt/sources/snapshot_fb7530/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib -lssl -lcrypto -inst-prefix-dir /mnt/zeus/hdd/sources/openwrt/sources/snapshot_fb7530/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/syslog-ng-3.38.1/ipkg-install)
/usr/lib/libssl.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
libtool: error: error: relink 'modules/afsocket/libafsocket.la' with the above command before installing it
make[6]: *** [Makefile:11159: install-moduleLTLIBRARIES] Error 1
make[5]: *** [Makefile:26764: install-am] Error 2
make[4]: *** [Makefile:24985: install-recursive] Error 1
make[3]: *** [Makefile:26757: install] Error 2
make[3]: Leaving directory '/mnt/zeus/hdd/sources/openwrt/sources/snapshot_fb7530/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/syslog-ng-3.38.1'
make[2]: *** [Makefile:162: /mnt/zeus/hdd/sources/openwrt/sources/snapshot_fb7530/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/syslog-ng-3.38.1/.built] Error 2
make[2]: Leaving directory '/mnt/zeus/hdd/sources/openwrt/sources/snapshot_fb7530/feeds/packages/admin/syslog-ng'
time: package/feeds/packages/syslog-ng/compile#3.55#1.26#4.36
ERROR: package/feeds/packages/syslog-ng failed to build.
make[1]: *** [package/Makefile:116: package/feeds/packages/syslog-ng/compile] Error 1
make[1]: Leaving directory '/mnt/zeus/hdd/sources/openwrt/sources/snapshot_fb7530'
make: *** [/mnt/zeus/hdd/sources/openwrt/sources/snapshot_fb7530/include/toplevel.mk:231: package/feeds/packages/syslog-ng/compile] Error 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in feeds/packages/admin/syslog-ng and inspect the generated Makefile around the install-moduleLTLIBRARIES failure and the linker command shown in the report. Reproduce the OpenWrt build, compare the referenced libssl.so with the working Debian 11 environment, and consider the issue complete when syslog-ng builds and installs without the file-format linker error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100