I'm trying to compile a program in GCC, however when I do so it is providing me with this error:
/usr/bin/ld: sqlite3.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
I've been trying to research the issue so that I can fix it on my own, but no solutions seem to be working for me. I'm still learning how things like this work, so I apologize in advance if this is a stupid question.