{"id":61384,"library":"libltdl","title":"libltdl","description":"A system independent dlopen wrapper for GNU libtool","status":"active","version":"2.5.4","language":"cpp","source_language":null,"source_url":null,"tags":["dlopen","dynamic-loading","libtool","shared-library"],"install":[{"cmd":"vcpkg install libltdl","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(libltdl CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE Ltdl::Ltdl)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"ltdl.h","correct":"#include <ltdl.h>"}],"quickstart":{"code":"#include <ltdl.h>\n#include <stdio.h>\nint main() {\n    lt_dlinit();\n    lt_dlhandle handle = lt_dlopen(\"libfoo.so\");\n    if (handle) {\n        printf(\"Library loaded\\n\");\n        lt_dlclose(handle);\n    }\n    lt_dlexit();\n    return 0;\n}","lang":"cpp","description":"Initialize libltdl, load a shared library, and clean up"},"warnings":[],"env_vars":null,"search_vec":"'dlopen':5,10 'dynam':12 'dynamic-load':11 'gnu':8 'independ':4 'libltdl':1 'librari':17 'libtool':9,14 'load':13 'share':16 'shared-librari':15 'system':3 'wrapper':6","created_at":"2026-06-17T04:48:21.054876+00:00","updated_at":"2026-06-17T04:48:21.054876+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}