Cannot generate packages from system library
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 33
- Forks
- 11
- Avg merge
- 1h 17m
- Merged PRs (30d)
- 51
Description
For example, i want to generate libcurl which is installed in system library.
pkg-config --libs libcurl
-lcurl
Both llcppg and llcppcfg cannot recognize it, so i try to specify it mannually,
"libs": "-L/Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/lib",
it cannot recognize it because of .dylib doesn't exist, however, there's a .tbd file representing .dylib in macOS.
nm -g /Library/Developer/CommandLineTools/SDKs/MacOSX15.0.sdk/usr/lib/libcurl.tbd
/usr/lib/libcurl.4.dylib (for architecture x86_64):
0000000000000000 S _curl_easy_cleanup
0000000000000000 S _curl_easy_duphandle
0000000000000000 S _curl_easy_escape
0000000000000000 S _curl_easy_getinfo
0000000000000000 S _curl_easy_header
0000000000000000 S _curl_easy_init
0000000000000000 S _curl_easy_nextheader
0000000000000000 S _curl_easy_option_by_id
0000000000000000 S _curl_easy_option_by_name
0000000000000000 S _curl_easy_option_next
0000000000000000 S _curl_easy_pause
0000000000000000 S _curl_easy_perform
0000000000000000 S _curl_easy_recv
0000000000000000 S _curl_easy_reset
0000000000000000 S _curl_easy_send
0000000000000000 S _curl_easy_setopt
0000000000000000 S _curl_easy_strerror
0000000000000000 S _curl_easy_unescape
0000000000000000 S _curl_easy_upkeep
0000000000000000 S _curl_escape
0000000000000000 S _curl_formadd
0000000000000000 S _curl_formfree
0000000000000000 S _curl_formget
0000000000000000 S _curl_free
0000000000000000 S _curl_getdate
0000000000000000 S _curl_getenv
0000000000000000 S _curl_global_cleanup
0000000000000000 S _curl_global_init
0000000000000000 S _curl_global_init_mem
0000000000000000 S _curl_global_sslset
0000000000000000 S _curl_global_trace
0000000000000000 S _curl_maprintf
0000000000000000 S _curl_mfprintf
0000000000000000 S _curl_mime_addpart
0000000000000000 S _curl_mime_data
0000000000000000 S _curl_mime_data_cb
0000000000000000 S _curl_mime_encoder
0000000000000000 S _curl_mime_filedata
0000000000000000 S _curl_mime_filename
0000000000000000 S _curl_mime_free
0000000000000000 S _curl_mime_headers
0000000000000000 S _curl_mime_init
0000000000000000 S _curl_mime_name
0000000000000000 S _curl_mime_subparts
0000000000000000 S _curl_mime_type
0000000000000000 S _curl_mprintf
0000000000000000 S _curl_msnprintf
0000000000000000 S _curl_msprintf
0000000000000000 S _curl_multi_add_handle
0000000000000000 S _curl_multi_assign
0000000000000000 S _curl_multi_cleanup
0000000000000000 S _curl_multi_fdset
0000000000000000 S _curl_multi_get_handles
0000000000000000 S _curl_multi_info_read
0000000000000000 S _curl_multi_init
llcppg should search .tbd file when .dylib is not found.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue through the llcppg and llcppcfg entry points using the system libcurl example and the shown .tbd path. Trace library discovery when no .dylib is present; done means a macOS system library represented by a .tbd file can be recognized and used to generate the package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, macos
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100