I am trying to compile/create an so file based on old hsimple.C tutorial.
The following compiles and generates the executable but it segfaults on ./main
Surely, I am missing lots of libraries… Is there an automated way to generate the list of so files needed?
Hi,
just as a note, depending on the compiler you might have to move the root-config --cflags --libs argument to the end of the gcc invocation: libraries required by compilation targets should be listed after the targets that require them, as per gcc’s documentation of the -l option.