[Rprotobuf-yada] reading messages from files

Dirk Eddelbuettel edd at debian.org
Fri Nov 6 18:14:32 CET 2009


On 6 November 2009 at 16:14, Romain François wrote:
| > library(RProtoBuf)
| > Loading required package: Rcpp
| > Error in dyn.load(file, DLLpath = DLLpath, ...) :
| > unable to load shared library
| > '/Library/Frameworks/R.framework/Resources/library/RProtoBuf/libs/i386/RProtoBuf.so':
| >
| > dlopen(/Library/Frameworks/R.framework/Resources/library/RProtoBuf/libs/i386/RProtoBuf.so,
| > 6): Symbol not found: __ZN8tutorial11AddressBookC1Ev
| > Referenced from:
| > /Library/Frameworks/R.framework/Resources/library/RProtoBuf/libs/i386/RProtoBuf.so
| >
| > Expected in: dynamic lookup
| >
| > Error: package/namespace load failed for 'RProtoBuf'
| 
| No idea what it could be. Is this because of
| 
| addressbook.pb.cc:	../inst/proto/addressbook.proto

Just to rule that out, copy addressbook.proto back to src and change the lines
in Makevars back to what they were:

addressbook.pb.cc:	addressbook.proto
			protoc --cpp_out=.  $<

Dirk

-- 
Three out of two people have difficulties with fractions.


More information about the Rprotobuf-yada mailing list