March 5, 2009

ColdFusion CFC WSDL libstdc++

I chased a problem all morning with missing libraries in Debian running ColdFusion MX. While trying to run a cfc as a web service I kept getting this error:

"coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: /opt/coldfusionmx7/runtime/bin/jikesw: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory ."

I installed the latest version of libstdc++ and installed libc6-dev but it still didn't work until I tried Keebler's workaround. Props to him.

The end solution was to link the newer library to the old...

"ln -s /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2"

CFMX 7 running on Debian 4.0

No comments: