#49902: soprano fails to build on 10.11.1 (via krusader install) -----------------------+----------------------- Reporter: petrov@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: soprano | -----------------------+----------------------- Comment (by petrov@…): I think I solve the problem and soprano now builds and can be installed on Mac OS with 64x Java only. The solution is: When compile halts with message {{{ ndefined symbols for architecture i386: "_JNI_CreateJavaVM", referenced from: JNIWrapper::instance() in jniwrapper.cpp.o ld: symbol(s) not found for architecture i386 }}} go to the build directory {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_soprano }}} then go inside {{{ soprano/work/build/backends/sesame2/CMakeFiles/soprano_sesame2backend.dir }}} locate the file {{{ flags.make }}} find the line in it {{{ CXX_FLAGS = -pipe -Os -stdlib=libc++ -DNDEBUG -arch x86_64 -arch i386 -mmacosx-version-min=10.11 -fPIC }}} and remove flag "-arch i386" from that line. That's it. After that port of soprano can be compiled without errors on linking java x32 libs: {{{ sudo port build soprano sudo port install soprano }}} -- Ticket URL: <https://trac.macports.org/ticket/49902#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X