TBrowser not Working with Sequoia 15.5

Hi,

I tried to install root on the last version of Sequoia, 15.5 using the binary https://root.cern/download/root_v6.36.00.macos-15.5-arm64-clang170.pkg on a MacBook Pro M4 machine.

If I do root I get this:


| Welcome to ROOT 6.36.000 https://root.cern |
| (c) 1995-2025, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for macosxarm64 on May 25 2025, 16:42:02 |
| From tags/v6-36-00@v6-36-00 |
| With Apple clang version 17.0.0 (clang-1700.0.13.3) |

Try ‘.help’/‘.?’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/‘.q’

Then, if I do TBrowser automatically opens the web interface, but if I do:

root -l --web=off and then I open the TBrowser I get this:

root -l --web=off
root [0] TBrowser s
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Applications/root_v6.36.000/lib/libASImage.so, 0x0009): Library not loaded: /opt/local/lib/libjpeg.8.dylib
  Referenced from: <52D638E4-0D7F-3E3D-95F8-E1F1962A5A0E> /Applications/root_v6.36.000/lib/libASImage.so
  Reason: tried: '/Applications/root_v6.36.000/lib/libjpeg.8.dylib' (no such file), '/opt/local/lib/libjpeg.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libjpeg.8.dylib' (no such file), '/opt/local/lib/libjpeg.8.dylib' (no such file)
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libASImage.so for TASImage
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Applications/root_v6.36.000/lib/libASImage.so, 0x0009): Library not loaded: /opt/local/lib/libjpeg.8.dylib
  Referenced from: <52D638E4-0D7F-3E3D-95F8-E1F1962A5A0E> /Applications/root_v6.36.000/lib/libASImage.so
  Reason: tried: '/Applications/root_v6.36.000/lib/libjpeg.8.dylib' (no such file), '/opt/local/lib/libjpeg.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libjpeg.8.dylib' (no such file), '/opt/local/lib/libjpeg.8.dylib' (no such file)
Error in <TGVSplitter::TGVSplitter>: splitterv.xpm not found
Error in <TGHSplitter::TGHSplitter>: splitterh.xpm not found
Error in <TGComboBox::TGComboBox>: arrow_down.xpm not found
Error in <TGComboBox::TGComboBox>: arrow_down.xpm not found
Error in <TGToolBar::AddButton>: pixmap not found: ed_new.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_open.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_save.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_saveas.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_print.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_cut.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_copy.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_paste.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_delete.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_find.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_findnext.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_goto.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_compile.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_execute.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_interrupt.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_help.png
Error in <TGToolBar::AddButton>: pixmap not found: ed_quit.png
Error in <TGComboBox::TGComboBox>: arrow_down.xpm not found

 *** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Applications/root_v6.36.000/lib/libGui.so] TGTextEditor::Build() (no debug info)
[/Applications/root_v6.36.000/lib/libGui.so] TGTextEditor::TGTextEditor(char const*, TGWindow const*, unsigned int, unsigned int) (no debug info)
[<unknown binary>] (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/Applications/root_v6.36.000/lib/libCore.so] TROOT::ProcessLine(char const*, int*) (no debug info)
[/Applications/root_v6.36.000/lib/libGui.so] TRootBrowser::ExecPlugin(char const*, char const*, char const*, int, int) (no debug info)
[/Applications/root_v6.36.000/lib/libGui.so] TRootBrowser::InitPlugins(char const*) (no debug info)
[/Applications/root_v6.36.000/lib/libGui.so] TRootBrowser::TRootBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*, bool) (no debug info)
[/Applications/root_v6.36.000/lib/libGui.so] TRootBrowser::NewBrowser(TBrowser*, char const*, unsigned int, unsigned int, char const*) (no debug info)
[<unknown binary>] (no debug info)
[/Applications/root_v6.36.000/lib/libGui.so] long TPluginHandler::ExecPluginImpl<TBrowser*, char const*, unsigned int, unsigned int, char const*>(TBrowser* const&, char const* const&, unsigned int const&, unsigned int const&, char const* const&) (no debug info)
[/Applications/root_v6.36.000/lib/libGui.so] TRootGuiFactory::CreateBrowserImp(TBrowser*, char const*, unsigned int, unsigned int, char const*) (no debug info)
[/Applications/root_v6.36.000/lib/libCore.so] TBrowser::TBrowser(char const*, char const*, TBrowserImp*, char const*) (no debug info)
[<unknown binary>] (no debug info)
[<unknown binary>] (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::IncrementalExecutor::runStaticInitializersOnce(cling::Transaction&) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::Interpreter::executeTransaction(cling::Transaction&) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::IncrementalParser::commitTransaction(llvm::PointerIntPair<cling::Transaction*, 2u, cling::IncrementalParser::EParseResult, llvm::PointerLikeTypeTraits<cling::Transaction*>, llvm::PointerIntPairInfo<cling::Transaction*, 2u, llvm::PointerLikeTypeTraits<cling::Transaction*>>>&, bool) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/Applications/root_v6.36.000/lib/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/Applications/root_v6.36.000/lib/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)
[/Applications/root_v6.36.000/lib/libRint.so] TRint::HandleTermInput() (no debug info)
[/Applications/root_v6.36.000/lib/libCore.so] TUnixSystem::CheckDescriptors() (no debug info)
[/Applications/root_v6.36.000/lib/libCore.so] TMacOSXSystem::DispatchOneEvent(bool) (no debug info)
[/Applications/root_v6.36.000/lib/libCore.so] TSystem::InnerLoop() (no debug info)
[/Applications/root_v6.36.000/lib/libCore.so] TSystem::Run() (no debug info)
[/Applications/root_v6.36.000/lib/libCore.so] TApplication::Run(bool) (no debug info)
[/Applications/root_v6.36.000/lib/libRint.so] TRint::Run(bool) (no debug info)
[/Applications/root_v6.36.000/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)

Do you have any clue what’s going on?

Looking at some other topic, I found this command:
otool -L $ROOTSYS/lib/libASImage.so that maybe can help you troubleshooting my problem, this is the output:

    /Applications/root_v6.36.000/lib/libASImage.so:
	@rpath/libASImage.so (compatibility version 0.0.0, current version 0.0.0)
	/opt/X11/lib/libpng16.16.dylib (compatibility version 56.0.0, current version 56.0.0)
	/opt/local/lib/libjpeg.8.dylib (compatibility version 8.0.0, current version 8.3.2)
	/opt/local/lib/libtiff.6.dylib (compatibility version 7.0.0, current version 7.2.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
	@rpath/libPostscript.so (compatibility version 0.0.0, current version 0.0.0)
	@rpath/libGraf.so (compatibility version 0.0.0, current version 0.0.0)
	@rpath/libMathCore.so (compatibility version 0.0.0, current version 0.0.0)
	@rpath/libCore.so (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1900.178.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)

Thanks a lot,

Elia

It looks like you are missing the icons they must be in $ROOTSYS/icons

What is the output of locate libjpeg ?

Thank you for your help. Sorry for the silly question, what I should do to get the icons correctly? Thanks

Thanks for the answer, I tried but it seems I don’t have the locate database this is the output:

WARNING: The locate database (/var/db/locate.database) does not exist.

What do you get when you do:

ls $ROOTSYS/icons

?

I get this:

about.xpm		diamond.xpm		marker25.xpm
app_s.xpm		disconnect.xpm		marker26.xpm
app_t.xpm		doc_s.xpm		marker27.xpm
arc.xpm			doc_t.xpm		marker28.xpm
arrow_down.xpm		draw_t.xpm		marker29.xpm
arrow_left.xpm		ed_compile.png		marker3.xpm
arrow_right.xpm		ed_copy.png		marker30.xpm
arrow_right2.xpm	ed_cut.png		marker4.xpm
arrow_up.xpm		ed_delete.png		marker5.xpm
arrow.xpm		ed_execute.png		marker6.xpm
bld_AlignBtm_d.xpm	ed_find.png		marker7.xpm
bld_AlignBtm.png	ed_findnext.png		marker8.xpm
bld_AlignBtm.xpm	ed_goto.png		mb_asterisk_s.xpm
bld_AlignCenter.png	ed_help.png		mb_exclamation_s.xpm
bld_AlignLeft_d.xpm	ed_interrupt.png	mb_question_s.xpm
bld_AlignLeft.png	ed_new.png		mb_stop_s.xpm
bld_AlignLeft.xpm	ed_open.png		mdi_close.xpm
bld_AlignRight_d.xpm	ed_paste.png		mdi_default.xpm
bld_AlignRight.png	ed_print.png		mdi_help.xpm
bld_AlignRight.xpm	ed_quit.png		mdi_maximize.xpm
bld_AlignTop_d.xpm	ed_save.png		mdi_minimize.xpm
bld_AlignTop.png	ed_saveas.png		mdi_restore.xpm
bld_AlignTop.xpm	ellipse.xpm		member.png
bld_bg.png		eve_axes.xpm		method.png
bld_bg.xpm		eve_line.xpm		modify.xpm
bld_bgd.xpm		eve_pointset.xpm	monitor01.xpm
bld_break_d.xpm		eve_rnr00_t.xpm		monitor02.xpm
bld_break.png		eve_rnr01_t.xpm		monitor03.xpm
bld_break.xpm		eve_rnr10_t.xpm		monitor04.xpm
bld_canvas.1.xpm	eve_rnr11_t.xpm		move_cursor.png
bld_canvas.xpm		eve_scene.xpm		netdisk_s.xpm
bld_checkbutton.xpm	eve_text.gif		netdisk_t.xpm
bld_colorselect.png	eve_track.xpm		newcanvas.xpm
bld_colorselect.xpm	eve_viewer.xpm		next_t.xpm
bld_combobox.xpm	expression_t.xpm	ntuple_s.xpm
bld_compact.png		f1_s.xpm		ntuple_t.xpm
bld_copy_d.xpm		f1_t.xpm		object_folder_s.xpm
bld_copy.png		f2_s.xpm		object_folder_t.xpm
bld_copy.xpm		f2_t.xpm		ofolder_t.xpm
bld_crop_d.xpm		fdisk_t.xpm		open.xpm
bld_crop.png		fileopen.xpm		pack_t.xpm
bld_crop.xpm		filesaveas.xpm		pack-empty_t.xpm
bld_cut_d.xpm		filter.png		package_add.xpm
bld_cut.png		first_t.xpm		package_delete.xpm
bld_cut.xpm		folder_s.xpm		package.xpm
bld_delete_d.xpm	folder_t.xpm		pad.xpm
bld_delete.png		geoarb8_s.xpm		pause.png
bld_delete.xpm		geoarb8_t.xpm		pave.xpm
bld_edit_s.png		geoassembly_s.xpm	pavelabel.xpm
bld_edit.png		geoassembly_t.xpm	pavestext.xpm
bld_edit.xpm		geobbox_s.xpm		pavetext.xpm
bld_embedcanvas.xpm	geobbox_t.xpm		pdf.xpm
bld_entry.xpm		geocombi_s.xpm		pointer.xpm
bld_exit.png		geocombi_t.xpm		previous_t.xpm
bld_fontselect.gif	geocomposite_s.xpm	printer_s.xpm
bld_fontselect.png	geocomposite_t.xpm	printer.xpm
bld_grab_d.xpm		geocone_s.xpm		profile_s.xpm
bld_grab.xpm		geocone_t.xpm		profile_t.xpm
bld_grid_d.xpm		geoconeseg_s.xpm	proof_base.xpm
bld_grid.png		geoconeseg_t.xpm	proof_connected.xpm
bld_grid.xpm		geoctub_s.xpm		proof_disconnected.xpm
bld_groupframe.xpm	geoctub_t.xpm		properties.xpm
bld_hbox_d.xpm		geoeltu_s.xpm		ps_s.xpm
bld_hbox.png		geoeltu_t.xpm		ps_t.xpm
bld_hbox.xpm		geogtra_s.xpm		psp_s.xpm
bld_hpaned.xpm		geogtra_t.xpm		psp_t.xpm
bld_hprogressbar.xpm	geohype_s.xpm		query_connected.xpm
bld_hscrollbar.xpm	geohype_t.xpm		query_disconnected.xpm
bld_hseparator.xpm	geomaterial_s.xpm	query_new.xpm
bld_hslider.xpm		geomaterial_t.xpm	query_submit.xpm
bld_image.xpm		geomedium_s.xpm		quit.xpm
bld_label.xpm		geomedium_t.xpm		rbutton_dis_off.xpm
bld_layout_d.xpm	geomixture_s.xpm	rbutton_dis_on.xpm
bld_layout.xpm		geomixture_t.xpm	rbutton_off.xpm
bld_listbox.xpm		geopara_s.xpm		rbutton_on.xpm
bld_listtree.xpm	geopara_t.xpm		record_t.xpm
bld_mainframe.xpm	geoparab_s.xpm		record.png
bld_new.png		geoparab_t.xpm		recursor.png
bld_new.xpm		geopcon_s.xpm		refresh.png
bld_newtab.png		geopcon_t.xpm		refresh.xpm
bld_numberentry.xpm	geopgon_s.xpm		refresh1.xpm
bld_open.png		geopgon_t.xpm		refresh2.xpm
bld_open.xpm		georotation_s.xpm	ReloadPage.gif
bld_paste_d.xpm		georotation_t.xpm	replay.png
bld_paste_into.png	geosphere_s.xpm		return_object_s.xpm
bld_paste.png		geosphere_t.xpm		return_object_t.xpm
bld_paste.xpm		geotorus_s.xpm		right_arrow_cursor.png
bld_plus.png		geotorus_t.xpm		root_s.xpm
bld_pointer.xpm		geotranslation_s.xpm	root_t.xpm
bld_radiobutton.xpm	geotranslation_t.xpm	Root6Icon.png
bld_redo_d.xpm		geotrap_s.xpm		Root6Splash.png
bld_redo.png		geotrap_t.xpm		Root6Splash.xpm
bld_redo.xpm		geotrd1_s.xpm		Root6SplashEXT.xpm
bld_removetab.png	geotrd1_t.xpm		rootdb_s.xpm
bld_rename.png		geotrd2_s.xpm		rootdb_t.xpm
bld_replace_d.xpm	geotrd2_t.xpm		rootdblnk_s.xpm
bld_replace.xpm		geotube_s.xpm		rootdblnk_t.xpm
bld_rgb.png		geotube_t.xpm		RootIcon.ico
bld_rgb.xpm		geotubeseg_s.xpm	rotate.png
bld_save_d.xpm		geotubeseg_t.xpm	rpm_s.xpm
bld_save.png		geovolume_s.xpm		rpm_t.xpm
bld_save.xpm		geovolume_t.xpm		save.xpm
bld_shutter.png		geoxtru_s.xpm		selection_t.xpm
bld_sortup.png		geoxtru_t.xpm		slider1h.xpm
bld_statusbar.xpm	glow_green.png		slider1v.xpm
bld_stop.png		glow_orange.png		slider2h.xpm
bld_stop.xpm		glow_red.png		slider2v.xpm
bld_tab.xpm		GoBack.gif		sliderh.xpm
bld_text.xpm		GoForward.gif		sliderv.xpm
bld_textbutton.xpm	GoHome.gif		slink_s.xpm
bld_undo_d.xpm		graph.xpm		slink_t.xpm
bld_undo.png		h_src_s.xpm		sm_delete.xpm
bld_undo.xpm		h_src_t.xpm		sm_export.xpm
bld_vbox_d.xpm		h1_s.xpm		sm_help.xpm
bld_vbox.png		h1_t.xpm		sm_import_canvas.xpm
bld_vbox.xpm		h2_s.xpm		sm_import_macro.xpm
bld_vpaned.xpm		h2_t.xpm		sm_new.xpm
bld_vprogressbar.xpm	h3_s.xpm		speedo.gif
bld_vscrollbar.xpm	h3_t.xpm		Splash.gif
bld_vseparator.xpm	hdisk_t.xpm		Splash.xpm
bld_vslider.xpm		home_t.xpm		splitterh.xpm
branch_folder_s.xpm	hor_arrow_cursor.png	splitterv.xpm
branch_folder_t.xpm	hpp_src_s.xpm		stop_t.xpm
branch_t.xpm		hpp_src_t.xpm		stop.png
branch-cl_t.xpm		htmlfile.gif		StopLoading.gif
branch-ob_t.xpm		info.gif		tb_back.xpm
browser.xpm		inspect.xpm		tb_bigicons.xpm
button.xpm		interrupt.xpm		tb_details.xpm
c_src_s.xpm		last_t.xpm		tb_find.xpm
c_src_t.xpm		latex.xpm		tb_forw.xpm
cdrom_t.xpm		leaf_method_s.xpm	tb_list.xpm
chain_s.xpm		leaf_method_t.xpm	tb_newfolder.xpm
chain_t.xpm		leaf_s.xpm		tb_refresh.xpm
checked_dis_t.xpm	leaf_t.xpm		tb_smicons.xpm
checked_t.xpm		line.xpm		tb_uplevel.xpm
checkmark_t.xpm		listview.xpm		tmacro_s.xpm
class.png		local_session.xpm	tmacro_t.xpm
closetab_d.png		macro_s.xpm		top_left_cursor.png
closetab.png		macro_t.xpm		top_right_cursor.png
connect.xpm		marker.xpm		tree_s.xpm
cpp_src_s.xpm		marker1.xpm		tree_t.xpm
cpp_src_t.xpm		marker16.xpm		unchecked_dis_t.xpm
curlyarc.xpm		marker18.xpm		unchecked_t.xpm
curlyline.xpm		marker2.xpm		ver_arrow_cursor.png
cut_t.xpm		marker20.xpm		x_pic.xpm
cut-disable_t.xpm	marker21.xpm		y_pic.xpm
cut.xpm			marker22.xpm		z_pic.xpm
deb_s.xpm		marker23.xpm
deb_t.xpm		marker24.xpm

I think that the error message is misleading. This happened in the past already.
See [gui] TGSpeedo class broken in 6.30 binary release Ubu22.04 · Issue #14247 · root-project/root · GitHub

When it says ‘icons are missing’, actually it should say ‘libafterimage’ could not be loaded because ‘libjpeg’ was not found or something like that.

So the right solution would be to fix ROOT so that it prints the correct error message.

In your case: did you install all dependencies? (libpng, libjpeg, etc.)? Did you verify that they are not installed twice, once in /opt and once in /usr or so?

Thanks for this comment I figured out that I have libpng in both

/opt/X11/lib/
/usr/X11/lib/

This is a brand-new Mac and yesterday I just install https://www.xquartz.org
Then, looking into one of the two folders I found out that libjpeg is not present in it.

For my old Mac I remember that once xquartz was installed everything was working ok, but maybe things are different now. I checked now on my old Mac where things are working properly, I have the same situation

In principle on Mac you do not need xquartz as the graphics and gui are based on Cocoa.

So, do you suggest to uninstall xquartz? Do I need to install libjpeg manually? In case, how can I do that?

Thanks

having xquartz does not arm but is not useful. How did you get ROOT ?

I downloaded the binary from the web page using this link: https://root.cern/download/root_v6.36.00.macos-15.5-arm64-clang170.pkg

Indeed I tried and got something similar.

root [0] TBrowser B
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Applications/root_v6.36.000/lib/libASImage.so, 0x0009): Library not loaded: /opt/X11/lib/libpng16.16.dylib

I installed xquartz to get libpng16.16.dylib and if fixed the problem.
I also have the jpeg library (the one missing for you)

% ls -l /opt/local/lib/libjpeg.8.dylib
lrwxr-xr-x  1 root  admin  19 Feb  4 16:39 /opt/local/lib/libjpeg.8.dylib -> libjpeg.8.3.2.dylib

but I do not remember where I got it from

1 Like

Thanks. On my old Mac I don’t have libjpeg but it works great. Anyway, if you remember how to get the jpeg library, please let me know, it would extremely useful.

Thanks

Maybe this helps: https://stackoverflow.com/a/64860578/7471760

I tries to install it via home-brew but it installs libjpeg.9.dylib instead of libjpeg.8.dylib and than, the other problem is I have it in /opt/homebrew/Cellar/jpeg/9f/lib/ and not in the useful directory, how can I move it? How can I get version 8?

No idea, @couet might know.

you can always try a very dirty hack such as creating a symbolic link from 8 to 9.

I think I found the solution.

I downloaded libjpeg.8.dylib from here http://www.ijg.org/files/jpegsrc.v8d.tar.gz
then:

tar xzf jpegsrc.v8d.tar.gz
cd jpeg-8d
./configure
make
sudo mkdir -p /usr/local/lib
sudo cp ./.libs/libjpeg.8.dylib /usr/local/lib

Then I got another error asking for libtiff.6.dylib, so I downloaded using homebrew:

brew install libtiff

Then I copy libtiff.6.dylib from Cellar with:

sudo cp /opt/homebrew/Cellar/libtiff/4.7.0/lib/libtiff.6.dylib /opt/local/lib/

Now I can use the TBrowser locally.

Thanks for the help, I hope this can help someone else on my situation.

1 Like