Issue Details (XML | Word | Printable)

Key: CORE-5934
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Bud Millwood
Votes: 0
Watchers: 2

If you were logged in you would be able to see more operations.
Firebird Core

gpre_boot fails to link using cmake, undefined reference 'dladdr' and 'dlerror'

Created: 04/Oct/18 08:35 AM   Updated: 09/Dec/18 02:21 PM
Component/s: Build Issues / Porting
Affects Version/s: 3.0.4
Fix Version/s: 4.0 Beta 1, 3.0.5

Environment: Ubuntu 16.04.5 LTS

QA Status: Cannot be tested

 Description  « Hide
Git branch R3_0_4, building with cmake fails at gpre_boot with undefined reference to dladdr and dlerror.

Modifying the following file seems to fix the issue:


Line: target_link_libraries (gpre_boot gpre_common common ${LIB_iconv} ${LIB_Ws2_32})
New line: target_link_libraries (gpre_boot gpre_common common ${LIB_iconv} ${LIB_Ws2_32} ${LIB_dl})

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 09/Oct/18 10:25 AM
CMake is not our main build process therefore yes, sometimes such bugs can happen in it.
Please provide pull request for B3_0_Release - I'll be glad to commit it to avoid problems in 305.

BTW, why did you hide this issue? It make no sense for build problems.