thanks for the response. yes I do have the libxml2 package installed.
perhaps my issue is not what I thought.
I was told I'd need both libxml2 and libxml2-dev.. but from what you have said they are packaged together.
If my understanding is correct then the error I have is something else like a path or something..
I am attempting to install a ruby gem. it is trying to compile
I get this output. it looks like its trying to find xmlParseDoc in xml2 but cant.
find_library: checking for xmlParseDoc() in -lxml2... -------------------- no
"gcc -o conftest -I. -I/usr/lib/ruby/1.8/i486-linux -I. -I/opt/local/include/ -I/opt/local/include/libxml2 -O2 -march=i486 -mtune=i686 -fPIC -march=i586 -mtune=i686 -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c -L'/usr/lib' -Wl,-R'/usr/lib' -L'/opt/local/lib'
-Wl,-R'/opt/local/lib' -rdynamic -Wl,-export-dynamic -lruby-static -lxml2
-ldl -lcrypt -lm -lc"
conftest.c: In function 't':
conftest.c:3: error: 'xmlParseDoc' undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was: