MySQL Forums
Forum List  »  Custom Storage Engines

_ZTV7handler not found on solaris (solved)
Posted by: Colin MacKenzie
Date: July 11, 2011 04:04PM

Someone posted they had linking errors comping ha_example on Solaris. I've gotten this to work on Solaris, I even had the _ZTV7handler not found link error. I had to play around with the link flags.

Here are the relevant flags I am using. I compile with Solaris SunStudio CC. These flags may not be quite right if using GCC.

CXXFLAGS=-m64 -mt -KPIC -DPIC -G -g -DDEBUG -DMYSQL_DYNAMIC_PLUGIN -DHAVE_RWLOCK_T -DMYSQLDB -DSOLARIS -DUSE_HSREGEX

LDFLAGS=-m64 -G

I think it was the -KPIC and -DPIC that made the difference but I cant remember.

Options: ReplyQuote


Subject
Views
Written By
Posted
_ZTV7handler not found on solaris (solved)
5905
July 11, 2011 04:04PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.