单声道2.8上Nant的ERROR XmlConfigurator错误

时间:2010-10-12 15:47:42

标签: mono nant

我在Mac OS X 10.6.4上使用简单的nant(0.90)进行了测试,但是我收到以下错误消息。 即使有错误消息,我也可以运行nant来成功获取二进制文件。

可能有什么问题?

log4net:ERROR XmlConfigurator: Failed to initialize configuration file watcher for file [/Library/Frameworks/Mono.framework/Versions/2.8/share/NAnt/bin/NAnt.exe.config]
System.DllNotFoundException: libc.dylib
  at (wrapper managed-to-native) System.IO.KeventWatcher:kqueue ()
  at System.IO.KeventWatcher.GetInstance (IFileWatcher& watcher) [0x00000] in :0 
  at System.IO.FileSystemWatcher.InitWatcher () [0x00000] in :0 
  at System.IO.FileSystemWatcher..ctor () [0x00000] in :0 
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher:.ctor ()
  at log4net.Config.XmlConfigurator+ConfigureAndWatchHandler..ctor (ILoggerRepository repository, System.IO.FileInfo configFile) [0x00000] in :0 
  at log4net.Config.XmlConfigurator+ConfigureAndWatchHandler.StartWatching (ILoggerRepository repository, System.IO.FileInfo configFile) [0x00000] in :0 
  at log4net.Config.XmlConfigurator.ConfigureAndWatch (ILoggerRepository repository, System.IO.FileInfo configFile) [0x00000] in :0 

1 个答案:

答案 0 :(得分:0)

export DYLD_FALLBACK_LIBRARY_PATH =“/ usr / lib /:$ DYLD_FALLBACK_LIBRARY_PATH”应该在bash文件中。