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: 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/ /usr/lib/"

CFMX 7 running on Debian 4.0