저는 Ubunte Linux에서 Cross Compiler를 이용하여 Embeded 환경에서 postgre를 사용하고 있습니다.
Postgre 8.4.14에서 10.23으로 버젼을 올려서 링크를 하면 아래의 오류가 발생합니다.
Postgre 8.4.14 버젼의 libpq.so로 컴파일 하면 문제 없습니다.
/install/lib/libpq.so: undefined reference to `pg_encoding_to_char'
/install/lib/libpq.so: undefined reference to `pg_char_to_encoding'
collect2: error: ld returned 1 exit status
해결 좀 해주세요
|