From: david Atkins <david@3adesign.co.uk> To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org> Subject: [FFmpeg-devel] Linking ffmpeg libavfilter error: undefined reference to symbol 'dlopen@@GLIBC_2.2.5' Date: Thu, 6 Apr 2023 05:59:23 +0000 Message-ID: <LO0P123MB405789060F20784EF4C839EDD6919@LO0P123MB4057.GBRP123.PROD.OUTLOOK.COM> (raw) I'm writing a new filter for ffmpeg and need to load a dynamic library using dlopen from dlfcn.h when I "make" if get the following LD ffmpeg_g /usr/bin/ld: libavfilter/libavfilter.a(vsrc_plugin_source.o): undefined reference to symbol 'dlopen@@GLIBC_2.2.5' /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:131: ffmpeg_g] Error 1 If I comment out the dlopen then all builds okay, searching widely suggests that -ldl is needed but this error suggests libdl is being used so should be already managed by configure. Any suggestions as to how to resolve this, if the answer is "add -ldl" then where does the ffmpeg build system expect it to be added? I've tried to build one of the other filters that uses dlopen and get a similar issue. David _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
reply other threads:[~2023-04-06 5:59 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=LO0P123MB405789060F20784EF4C839EDD6919@LO0P123MB4057.GBRP123.PROD.OUTLOOK.COM \ --to=david@3adesign.co.uk \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git