#26958: qscintilla: ld: library not found for -lqscintilla2 -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: qscintilla -------------------------------------+-------------------------------------- Comment(by michaelld@…): two thoughts: 1) can you try: {{{ sudo port clean qscintilla sudo port selfupdate sudo port install qscintilla [+variants] }}} and see if that helps? Sometimes cleaning & updating does. If not, then: 2) "PLATFORM_ASSERT" is defined in the file "${worksrcpath}/include/Platform.h", which is included by the cpp file of issue via the header "ScintillaQt.h". The only way that these #define won't happen is if "PLATFORM_H" is already defined -- that would really mess things up for Qsci. I can't find another #define of it on my system (including /opt/local and /usr/local), but maybe you do on yours & it's messing up the install? Can you insert some code at the top of the Platform.h file & see what happens? {{{ #ifdef PLATFORM_H #define PLATFORM_H #endif }}} and if at entry PLATFORM_H is already defined then GCC will print out a message about where it is already defined. Code compilation will not get any further than what you already have. -- Ticket URL: <https://trac.macports.org/ticket/26958#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS