Opened 12 years ago

Last modified 12 years ago

#35103 closed defect

R: Cannot call X11() function — at Version 1

Reported by: chutsu@… Owned by: kjell.konis@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign@…
Port: R

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I obtained the following error when attempting to use X11()

> X11()
Error in X11() : X11 module cannot be loaded
In addition: Warning message:
In X11() :
  unable to load shared object '/opt/local/lib/R/modules/x86_64/R_X11.so':
  dlopen(/opt/local/lib/R/modules/x86_64/R_X11.so, 6): Symbol not found: _iconv
  Referenced from: /usr/lib/libcups.2.dylib
  Expected in: /opt/local/lib/libiconv.2.dylib
 in /usr/lib/libcups.2.dylib

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to kjell.konis@…
Priority: HighNormal
Summary: Cannot call X11() function in RR: Cannot call X11() function

Why would /usr/lib/libcups.2.dylib (or anything in /usr/lib) reference /opt/local/lib/libiconv.2.dylib (or anything in /opt/local/lib)? This might happen if you set LD_LIBRARY_PATH or DYLD_LIBRARY_PATH to include /opt/local/lib, or if you actually replaced Apple's /usr/lib/libcups.2.dylib with one built by MacPorts. If you've done either of those things, you should undo them.

Note: See TracTickets for help on using tickets.