Fwd: Build issues apache httpd-2.4.56 / libaprutil-1.so: undefined reference to libiconv_open
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 12:37:33 UTC
Ok please understand i am asking here because apache downloaded from httpd.org will not build generically from source. I am a programmer of 35+ years and appreciate that everything is not compatible with everything else however i should and used to build from source until apache 2.4.x using : drwxr-xr-x 29 1000 1000 uarch 72B Apr 9 06:15 apr-1.7.3 drwxr-xr-x 9 paul 1001 uarch 30B Apr 9 06:33 apr-iconv-1.2.2 drwxr-xr-x 21 501 staff uarch 65B Apr 9 06:35 apr-util-1.6.3 drwxr-xr-x 13 501 staff uarch 60B Apr 9 07:16 httpd-2.4.56 all with generic ./configures and installs using gmake (from ports devel) This error has occured surrounding iconv libs missing linking into I need to build fro source because i need custom php builds etc and python that is not directly supported from the port collection. Help would be appreciated as i am sure there is a patch somewhere, just can not find it? Actual error is : [07:22:53] argg.scom.ca [root:0] /usr/local/src/net/httpd-2.4.56.current/support # gmake gmake[1]: Entering directory '/usr/local/src/net/httpd-2.4.56.current/support' /usr/local/apr/build-1/libtool --silent --mode=link cc -g -O2 -L/usr/local/lib -o htpasswd htpasswd.lo passwd_common.lo /usr/local/apr/lib/libaprutil-1.la -lexpat /usr/local/apr/lib/libapr-1.la -lcrypt -lpthread -lcrypt ld: error: /usr/local/apr/lib/libaprutil-1.so: undefined reference to libiconv_open [--no-allow-shlib-undefined] ld: error: /usr/local/apr/lib/libaprutil-1.so: undefined reference to libiconv [--no-allow-shlib-undefined] ld: error: /usr/local/apr/lib/libaprutil-1.so: undefined reference to libiconv_close [--no-allow-shlib-undefined] cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [Makefile:48: htpasswd] Error 1 gmake[1]: Leaving directory '/usr/local/src/net/httpd-2.4.56.current/support' gmake: *** [/usr/local/src/net/httpd-2.4.56.current/build/rules.mk:75: all-recursive] Error 1 -- Happy Sunday !!! Thanks - paul Paul Kudla Scom.ca Internet Services <http://www.scom.ca> 004-1009 Byron Street South Whitby, Ontario - Canada L1N 4S3 Toronto 416.642.7266 Main 1.866.411.7266 Fax 1.888.892.7266 Email paul@scom.ca