[sudo-users] Error trying "make" in Sudo
Todd C. Miller
Todd.Miller at courtesan.com
Wed Dec 17 09:35:29 EST 2008
You may be linking against the wrong libintl. You should be
able to find which one defines libintl_dgettext by doing something
like:
You could try running configure with
--with-libpath=/usr/lib --with-incpath=/usr/include
to try and get gcc to use the system libintl. By default, gcc will
prefer includes in /usr/local/include over those in /usr/include
and libraries in /usr/local/lib over /usr/lib. This is probably
what is giving you problems. If you have the Sun C compiler, you
could use that instead which doesn't have this brain damaged behavior.
If that doesn't help, try to find which lib libintl_dgettext
is in. E.g.
/usr/ccs/bin/nm /usr/lib/libintl.so | grep libintl_dgettext
and
/usr/ccs/bin/nm /usr/local/lib/libintl.so | grep libintl_dgettext
I would expect it to be in /usr/local/lib/libintl.so.
- todd
More information about the sudo-users
mailing list