Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpre_boot fails to link using cmake, undefined reference 'dladdr' and 'dlerror' [CORE5934] #6191

Closed
firebird-automations opened this issue Oct 4, 2018 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Bud Millwood (budm)

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:

src/CMakeLists.txt:

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})

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

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.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

security: Developers [ 10012 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Fix Version: 4.0 Beta 1 [ 10750 ]

Fix Version: 3.0.5 [ 10885 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Cannot be tested

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment