Issues related to compiling apache, php etc.. /libexec/ld-elf.so.1: Shared object “libintl.so.9” not found, required by “gmake”
Issues related to compiling apache, php etc.. /libexec/ld-elf.so.1: Shared object “libintl.so.9” not found, required by “gmake“
On FreeBSD systems, gmake is requiring for a few of the modules (Freetype, in this example).
If it is missing, the custombuild script will attempt to install it with ports, and failing that, with pkg_add, eg:
If /usr/local/bin/gmake is missing, it will run:
if, after those commands, /usr/local/bin/gmake still does not exist, it will then run this as a last resort:
pkg_add -r gmake
There been a few reports of the following this error:
GNU make (>= 3.80) or makepp (>= 1.19) is required to build FreeType2.
`GNUMAKE=<GNU make command name> ./configure’.
`GNUMAKE=”makepp –norc-substitution” ./configure’.
Done. Making freetype-2.4.4…
Trying to make FreeType…
/libexec/ld-elf.so.1: Shared object “libintl.so.9” not found, required by “gmake”
with the relevant error message in bold.
What the error means is that a requiring library is missing.
On some versions of freebsd, the libintl.so.9 might be missing, but the libintl.so.8 is there.
If that is the case, you can try using the command:
ln -s libintl.so.8 /usr/local/lib/libintl.so.9
to see if that repairs the “gmake” command. (test running it to see if error goes away).
still It will be better to get a problem gmake binary for your OS, or get the newer libintl.so.9 library, but in many cases this is an quick and easy workaround.
./build curl generates: url.c:83:18: error: idna.h: No such file or directory
If the command
generates the error:
gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib
-I../lib -I/usr/kerberos/include -g0 -O2 -Wno-system-headers -MT
url.lo -MD -MP -MF .deps/url.Tpo -c url.c -fPIC -DPIC -o .libs/url.o
url.c:83:18: error: idna.h: No such file or directory
url.c:84:17: error: tld.h: No such file or directory
url.c:85:24: error: stringprep.h: No such file or directory
url.c:87:22: error: idn-free.h: No such file or directory
url.c: In function ‘tld_check_name’:
url.c:3400: error: ‘IDNA_SUCCESS’ undeclared (first use in this
url.c:3400: error: (Each undeclared identifier is reported only once
url.c:3400: error: for each function it appears in.)
url.c:3406: error: ‘TLD_SUCCESS’ undeclared (first use in this
url.c:3407: error: ‘Tld_rc’ undeclared (first use in this function)
url.c:3407: error: expected ‘)’ before ‘rc’
url.c:3407: warning: assignment makes pointer from integer without a
url.c:3409: error: ‘TLD_INVALID’ undeclared (first use in this
url.c: In function ‘fix_hostname’:
url.c:3452: error: ‘IDNA_SUCCESS’ undeclared (first use in this
*** Error code 1
the solution is to edit the “build” script, and find the function for doCURL() which should have a make command as follows:
change it to just be:
other reported solution: