[cs631apue] magic on cs631apue.netmeister.org

Jan Schaumann jschauma at stevens.edu
Thu Nov 9 15:14:31 EST 2017


Jonah S Mania <jmania at stevens.edu> wrote:
 
> I am having trouble including <magic.h> on cs631apue.netmeister.org. 
> When I go to compile gcc is telling me that there is no such file or 
> directory and I can't seem to find magic.h in the include folder. Has 
> anyone else had trouble setting libmagic up?

Try compileing with '-I/opt/csw/include/' and linking with
'-L/opt/csw/lib/'.

-Jan


More information about the cs631apue mailing list