kubo39 / kubo39/libloading

undefined reference to `libloading_dlerror_mutex_unlock

Open
#3 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
D
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```error: /usr/bin/ld: /home/witherking25/.dub/packages/libloading-0.1.0/libloading//libloading.a(library_1_496.o): in function `_D10libloading7library11withDlerrorFNbDFNbNiZbPAyaZb':
/home/witherking25/.dub/packages/libloading-0.1.0/libloading/source/libloading/library.d:(.text._D10libloading7library11withDlerrorFNbDFNbNiZbPAyaZb[_D10libloading7library11withDlerrorFNbDFNbNiZbPAyaZb]+0x1d): undefined reference to `libloading_dlerror_mutex_lock'
/usr/bin/ld: /home/witherking25/.dub/packages/libloading-0.1.0/libloading/source/libloading/library.d:(.text._D10libloading7library11withDlerrorFNbDFNbNiZbPAyaZb[_D10libloading7library11withDlerrorFNbDFNbNiZbPAyaZb]+0x76): undefined reference to `libloading_dlerror_mutex_unlock'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the linker failure from the issue and inspect libloading/source/libloading/library.d, especially the withDlerror references shown in the trace. Trace where libloading_dlerror_mutex_lock and libloading_dlerror_mutex_unlock should be provided, then verify that the package links successfully without the undefined-reference errors.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.