Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.
От | Tom Lane |
---|---|
Тема | Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too. |
Дата | |
Msg-id | 11161.1537993732@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too. (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Ответы |
Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.
|
Список | pgsql-committers |
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: > Somehow, this is not working for me: > Undefined symbols for architecture x86_64: > "_libintl_gettext", referenced from: > _pg_strerror_r in strerror.o > ld: symbol(s) not found for architecture x86_64 > collect2: error: ld returned 1 exit status > make[4]: *** [../../../../src/Makefile.shlib:303: libpgtypes.3.12.dylib] > Error 1 > It works if I don't use --enable-nls. More context please? I'm guessing this is on macOS? Where did you get libintl from? Is it, as it looks, getting through libpq and failing in ecpg? My first bet would be that ecpg for some reason lacks needed NLS infrastructure ... have we ever tried to internationalize it? Right now might not be the best time to try --- perhaps the path of least resistance is to defeat strerror.c's NLS support when it's being compiled in ecpg. regards, tom lane
В списке pgsql-committers по дате отправления: